Home / HTML / HTML links – Target attribute of anchor tag
As described in previous session, the Target attribute of <A> is most often used when dealing with frames. It specifies the window in which the document should be loaded. The TARGET attribute can take one of the six values below: (note the underscore for the first four)
The links and their code are presented below. Click on the link to see how the TARGET attribute behaves.
<A HREF="test.html" TARGET="RESOURCE WINDOW"> Loads test.html in a new browser window</A>
Loads test.html in a new browser window
<A HREF="test.html" TARGET="_blank"> Loads test.html in a new browser window</A>
Loads test.html in a new browser window
<A HREF="test2.html" TARGET="_self"> Loads test2.html in this window</A>
How do I view a deleted web page?
Is there a way to view a deleted web page - one that is no longer available? Yes there is and the solution is quite simple. [more...]
In 1999, Amazon bought Alexa for about $250 million. The amount was paid in Amazon stock. [more...]
We use cookies to give you the best possible website experience. By using WebDevelopersNotes.com, you agree to our Privacy Policy