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

I want a help in a wp fatal error, I want help in a WP Fatal Error: Out of ...

I want help in a WP Fatal Error: Out of Memory issues fixed I am getting the below error whenever I attempt to do anything on the website. I must it fixed soon. Must be super ea

We need help in mobile punch card builder, We need help in Mobile Punch Car...

We need help in Mobile Punch Card Builder I have a mobile site builder platform which I would like users to as well be able to create mobile punch cards (punches) & Rewards poin

I want help for email template, Email template This job is to take a des...

Email template This job is to take a design as well as build a newsletter template in HTML that works in different email clients. Desired Skills are CSS, HTML, Newsletters, E

We are looking for a web developer to edit website and apps, We are looking...

We are looking for a Web Developer to edit website and apps Ok as well as the features what apps and site must have now is (1. Voice post 2. 3d blog 3. All members will have poi

We are in need of social network design from ground up, We are in need of S...

We are in need of Social Network Design from Ground Up - No Framework We are in search of a company that can create a social network site from the ground up using the latest tec

Need help in bespoke duty and vat and shipping, Opencart (MijoShop) dev -Be...

Opencart (MijoShop) dev -Bespoke Duty/Vat and shipping We have a client who trades wines which are whichever purchased to be shipped to the customer (as standard) OR purchased a

Onerror event handler, The onError event handler executes the indicated Jav...

The onError event handler executes the indicated JavaScript code or function onto the occurrence of an error event. It happens while an image or document causes an error throughout

Need help in responsive design for college web site, Responsive design for ...

Responsive design for college web site Seeking to hire experts who will develop a responsively designed web site for a four-year public college. Desired Skills are MySQL Admi

We looking for a facebook developer for game app, We looking for a Facebook...

We looking for a Facebook Developer for game app Top Notch Facebook application and Game developer needed Job description -- We are in search of a Facebook Developer who w

We need messaging system for buyers as well as sellers, We need Messaging s...

We need Messaging system for buyers as well as sellers Need a messaging system to be implemented as a module into shopping cart system. It would be great if to inactivate the me

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