In the following example, the linked document is loaded in a new window:
![]()
Note: The target attribute is not supported in any of the major browsers.
The <link> target attribute is not supported in HTML5.
The target attribute specifies a window or a frame where the linked document is loaded.
| Value | Description |
|---|---|
| _blank | Load in a new window |
| _self | Load in the same frame as it was clicked |
| _parent |
Load in the parent frameset |
| _top | Load in the full body of the window |
| framename | Load in a named frame |
HTML <link> tag
Your message has been sent to W3Schools.