target (HTML attribute)
| Depr. | Version |
|---|---|
| Yes | HTML 2 |
| IE7 | FF2 | SA3 | OP9.5 |
|---|---|---|---|
| None | None | None | None |
Syntax
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
Thetarget 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 | |||||||
|---|---|---|---|---|---|---|---|---|---|---|
| 5.5 | 6.0 | 7.0 | 1.0 | 1.5 | 2.0 | 1.3 | 2.0 | 3.0 | 9.2 | 9.5 |
| 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.
Add a note
To post a note on this topic, please log in with your SitePoint username and password. If you don't have an account yet, you can create a new account for free.