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

Need help to make checkout page customisation, Checkout Page Customisation ...

Checkout Page Customisation 1) Clone process need to be exact same as the reference checkout site 2) Final product must be responsive to all devices Desired Skills are MyS

Web design required for graphic company, Web Design A digital media as w...

Web Design A digital media as well as graphic company is seeking an individual with web experience to work with the company to update as well as manage its four web sites. De

We need help in wordpress performance, We need help in Wordpress Performanc...

We need help in Wordpress Performance Our website is running tremendously slow and after trying recommendations from GT Metrix such as adding expires headers and changing plugin

Api replication required, Project Description: Want an API expert to aid...

Project Description: Want an API expert to aid in application development in regards to API extraction, and injection into other sites, as the main site is updated. Do not bid i

Pre tag, This tag is utilized to present the text precisely as written in t...

This tag is utilized to present the text precisely as written in the code, by including whitespace characters. This is terminated by a tag.  Take the example illustrat

I need help to fix joomla bugs, I need help to fix Joomla Bugs I have a ...

I need help to fix Joomla Bugs I have a Joomla site (version 2.5.7) that has some minor issues. Needs fixed ASAP 1. We are feat error message on backend when trying to edit a

I am seeking a long term wordpress developer, WordPress Developer - Long Te...

WordPress Developer - Long Term I am seeking a long term WordPress developer. We will start with a test project. You have to develop a WordPress theme from scratch. Note-

Shopping Cart, Shopping Cart Purpose – Allows user to browse while keeping ...

Shopping Cart Purpose – Allows user to browse while keeping track of the items in which they will purchase at the end on the order page link and this will give a final price for al

Textarea element in a form, Set the element's dimensions using row & column...

Set the element's dimensions using row & column attributes in the textarea tag so the data entered is easily viewable.  The element of course requires an appropriately descriptive

Need help likenet upgrade - user shopping mall, Likenet upgrade - user shop...

Likenet upgrade - user shopping mall Likenet Upgrade - User auction/shopping mall A woocommerce mall simply like the auction site your building. Part of the likenet interf

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