HTML target property
Example
An image map with a clickable area and the target property:
usemap="#planetmap">
Try it »
Browser support





All major browsers support the target property
Definition and Usage
The target property specifies the target of the link in the area.
The target property is only used when the href property is used.
Differences between HTML 4.01 and HTML5
Frames and framesets are no longer supported. _parent, _top, and framename property values are commonly used in iframes.
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 tag