Easy Tutorial
❮ Att Object Vspace Att Textarea Rows ❯

HTML <area> target Attribute

HTML <area> Tag

Example

An image map with clickable areas and the target attribute:


Browser Support

All major browsers support the target attribute.


Definition and Usage

The target attribute specifies the target for the link in the area.

The target attribute is used only when the href attribute is present.


Differences Between HTML 4.01 and HTML5

Frames and framesets are no longer supported. The values _parent, _top, and framename are commonly used with iframes.


Syntax

Attribute Values

Value Description
_blank Opens the linked document in a new window or tab.
_self Default. Opens the linked document in the same frame.
_parent Opens the linked document in the parent frame set.
_top Opens the linked document in the full body of the window.
framename Opens the linked document in a named frame.

HTML <area> Tag

❮ Att Object Vspace Att Textarea Rows ❯