HTML <area> target Attribute
Example
<img src="desk.jpg" usemap="#image-map">
<map name="image-map">
<area target="_blank" alt="Computer" title="Computer" href="computer.png" coords="112,31,285,246" shape="rect">
<area target="_blank" alt="Cup" title="Cup" href="cup.png" coords="327,212,31" shape="circle">
<area target="_blank" alt="Mobile" title="Mobile" href="mobile.png" coords="296,121,326,176" shape="rect">
<area target="_blank" alt="Book" title="Book" href="book.png" coords="53,132,115,157,72,237,2,211" shape="poly">
</map>
Meaning
The target attribute specifies the target window for a hypertext source link that references frames.
Standard Syntax
<area target="_self|_blank|_parent|_top|frameName">
Advertisement
Attribute Values
| Value | Description |
|---|---|
| _self | Opens the link in the same window as it was clicked by user (default) |
| _blank | Opens the link in a new window or tab, but users can configure browsers to open a new window instead. |
| _parent | Opens the link in the parent frame. If no parent, behaves as _self. |
| _top | Opens the link in the full body of the window. If no ancestors, behaves as _self. |
| frameName | Opens the link in the specified iframe |