HTML property
Example
The target property specifies where to open the linked document:
<a href="http://www.runoob.com" target="_blank">Visit Runoob Tutorial!
a
Try it »
Browser support





All major browsers support the target property
Definition and Usage
The tag's target property specifies where to open the linked document.
Syntax
Attribute values
| Value | Description |
|---|---|
| _blank | Open the linked document in a new window. |
| _self | Default. Open the linked document in the same frame. |
| _parent | Open the linked document in the parent frameset. |
| _top | Open the linked document in the entire window. |
| framename | Open the linked document in the specified frame. |
HTML