target (HTML attribute)
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"/>
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.
Value
Refer to the syntax section
for the acceptable values for
target.
Compatibility
| IE | 5.5 | None |
|---|---|---|
| 6.0 | None | |
| 7.0 | None | |
| Firefox | 1.0 | None |
| 1.5 | None | |
| 2.0 | None | |
| Safari | 1.3 | None |
| 2.0 | None | |
| 3.0 | None | |
| Opera | 9.2 | 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.

