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>
<A HREF="test.html" TARGET="_blank"> Loads test.html in a new browser window</A>
<A HREF="test2.html" TARGET="_self"> Loads test2.html in this window</A>
The Apple iTunes Store was launched with 200,000 songs. In the first week itself, almost a half of that number were purchased - total 1 million song downloads. The music store was launched on 28th April 2003, and each song was sold for 99 cents. [more...]