target (HTML attribute)

Spec
Depr. Version
Yes HTML 2
Browser support (more…)
IE8 FF3.5 SA4 OP10 CH2
None None None None None

Syntax

target=" { _blank | frame name | _parent | _self | _top } "

Description

The target attribute is used in the link element to identify the window or frame—which may be in a frameset, an iframe, or even a popup window with a custom window name—that the resource referenced in the href attribute applies to.

Example

The target attribute indicates that the referenced document is in a window with the custom name "subframe":
<link rel="subsection" rev="parent" target="subframe"
    href="categories.html"/>

Value

Refer to the syntax section for the acceptable values for target.

Compatibility

Internet Explorer Firefox Safari Opera Chrome
5.5 6.0 7.0 8.0 1.0 1.5 2.0 3.0 3.5 1.3 2.0 3.1 4.0 9.2 9.5 10.0 2.0
None None None None None None None None None None None None None None None None None

The support charts indicate no support for this attribute, as none of the browsers do anything useful with it, or change the behavior of anything on the page as a result of it.

User-contributed notes

There are no comments yet.

Related Products