target (HTML attribute)
target attribute in the
element is almost certainly going to be used in the context of a
frameset, where you want all
links from a document in one
frame to open in another named
frame. You might
also use it in the context of an
iframe, where you wish all links from the “host” document (which
iframe) to open the destination of the
links inside that floating frame (although this is a much less likely
scenario than that outlined for
Here, the base
target is defined as a frame named
<base href="http://lloydi.com" target="right"/> ⋮ <p> I've published my <a href="/travel-writing/">holiday diaries</a>, including the <a href="/travel-writing/prague/2006/day2.html"> crazy bone church at Kutna Hora</a>. </p>
Refer to the value
all the values that can be included in the
and their meanings and uses.
It causes no compatibility issues, and has excellent support across all tested browsers.
There are no comments yet.