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
_selfif there are no framesets defined in the window).
Default
_self
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access