Basic attributes of html, PHP Web Programming

Assignment Help:

These all are attributes of the <A> tag. The following instance explains each of these attributes.

<HTML>

<BODY>

<UL>

<LI>TARGET = "_blank"</LI>

<A HREF="newwindow.html" TARGET="_blank">a new window</A> <BR>

<LI> TARGET = "_self"</LI>

go to <A HREF="selftarget.html" TARGET="_self">next</A> page<BR>

<LI>TARGET = "_top"</LI>

<A HREF="selftarget.html" TARGET="_top">top</A><BR>

</UL>

</HTML>

1910_Basic attributes of HTML.png

Figure: Attributes of the <A> Tag

 

• TARGET = "_blank"

"_blank" opens the new document in a new window. Run the code given in given code and check how it works. This value does not have need for the use of any frames. "_blank" is famous in web pages which are devoted to links to "other resources on the net". Through opening any new window for each resource, the user has a sense of a "main" page (the list of resources) and "secondary" pages (each individual resource). Also, the web site providing the link does not risk being supplanted by a link that it has provided.

Note: Some of the versions of MSIE do not support "_BLANK"

•  TARGET = "_self"

"_self" puts the new document in the identical window and frame as the current document. "_self" works the similar as if you had not used TARGET at all.

•  TARGET = "_parent"

"_parent" is used in a condition where a frameset file is nested within another frameset file. Any link in one of the inner frameset documents which uses "_parent" will load the new document where the inner frameset file had been.

If the current document's frameset file does not contain any "parent", then "_parent" works precisely like "_top": the new document is loaded in the full window. Note down that "_parent" does not work in a frameset that is merely nested inside another frameset in the identical frameset file.

• TARGET = "_top"

"_top" loads the linked document in the topmost frame, i.e., the new page fills the whole window.


Related Discussions:- Basic attributes of html

Cake php project issues, Cake PHP Project Good knowledge of PHP. a) Hands-o...

Cake PHP Project Good knowledge of PHP. a) Hands-on PHP based framework, Cake PHP b) Demonstrable knowledge of web technologies including HTML, CSS, Javascript, AJAX, CRM. c) Good

Need help in website creation, Website creation - similar to seedrs.com cro...

Website creation - similar to seedrs.com crowd funding Looking to receive quotes as well as approximate time frame for the development of a website similar to Seedrs.com. Ope

Domain name system, Domain name is a name given to any network for easiness...

Domain name is a name given to any network for easiness of reference. Domain refers to a group of computers which are known through a single common name. Somebody needs to transfer

Need help in house rental tracking hosted web gui and db, House Rental trac...

House Rental tracking Hosted Web GUI and DB Want a web interface program to track short term rentals of multiple vacation properties. Most information wants to be scraped twice

I need help of php expert to change in website, I need help of PHP Expert t...

I need help of PHP Expert to change in website We have an existing code base that needs a new programmer asap. Small tasks as well as bigger projects required not looking for a

I need ecommerce store product, I need eCommerce Store Product I have ar...

I need eCommerce Store Product I have around 300 products that need specs/ descriptions and possibly images for my ecommerce store. I need these things for every product: 1)

Helo, How to echo hello

How to echo hello

I am looking for a programmer who can implement my mockups, BigCommerce ful...

BigCommerce fully responsive design implementation I am looking for a programmer who can implement my Mockups on my BigCommerce shop. Requirement- a) You write clean code

What is post and get methods, Which will execute faster POST or GET method?...

Which will execute faster POST or GET method? GET minaly transfer data to the server using URL while POST transfer data using form collection that is added to the request by th

We want to create a ecommerce site simplistic professional, We want to crea...

We want to create a Ecommerce site simplistic professional Make a wordpress compatible ecommerce site preferably woocommerce or another commonly used ecommerce tool. Job Desc

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd