Name
TARGET — NN n/a IE n/a HTML 4
Synopsis
TARGET=”windowOrFrameName"
Optional
Presumably, the TARGET
attribute is provided in
HTML 4.0 as a way to specify the destination for display of a
document at the other end of the HREF
attribute of
the LINK
element. No browser yet implements this
attribute because the LINK
element so far does not
link up to content that can be displayed.
Value
Case-sensitive identifier when the frame or window name has been
assigned via the target element’s NAME
attribute. Four reserved target names act as constants:
-
_blank
Browser creates a new window for the destination document.
-
_parent
Destination document replaces the current frame’s framesetting document (if one exists; otherwise, it is treated as
_self
).-
_self
Destination document replaces the current document in its window or frame.
-
_top
Destination document is to occupy the entire browser window, replacing any and all framesets that may be loaded (also treated as
_self
if there are no framesets defined in the window).
Default
_self
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.