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>
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.