Stub
This article is a stub. Please help the wiki by coding it. Spamming and vandalism is not considered an improvement and will result in discipline, up to, and including a permanent block.
The HTML target attribute specifies where to open the target URL. It is usually used only if the href attribute is present.
HTML elements such as <a> use the target attribute.
The values for this attribute is a browsing context name, like:
_selfcontains an element or script._parentcontains the element (such asobject,iframe, orframe) in which_selfis embedded, or_selfif it is not embedded._topis not embedded within any other and contains, directly or indirectly, an element or script. This may be equal to either_selfor_parent, or an ancestor of both._blankdoes not yet exist, but will be created if a script or element operated by the user sends a URL to it. (A name which is not yet assigned to a browsing context has a similar effect, except the resulting context has a name by which it may be referred to later.)