The target attribute specifies where to open the linked document:
![]()
The target attribute is supported in all major browsers.
The target attribute specifies where to open the linked document.
| Value | Description |
|---|---|
| _blank | Opens the linked document in a new window or tab |
| _self | Opens the linked document in the same frame as it was clicked (this is default) |
| _parent | Opens the linked document in the parent frame |
| _top | Opens the linked document in the full body of the window |
| framename | Opens the linked document in a named frame |
HTML <a> tag
Your message has been sent to W3Schools.