HyperText Markup Language/Tag List/area

From Wikibooks, the open-content textbooks collection

Jump to: navigation, search

Contents

[edit] Use

For specifying coordinates of image maps.

[edit] Example

<area shape="rect" href="map_2.html" coords="300, 30, 29, 211" alt="Map of Woods" />

[edit] Required attributes

[edit] coords

The cooradinates of area in image map.

[edit] href

The link to another page specified.

[edit] shape

Defining the shape of the image map.

[edit] Optional attributes

[edit] accesskey

For adding keyboard shortcuts instead of clicking on the area.

[edit] alt

For giving information about the area.

[edit] nohref

For making a click on the area mean nothing.

[edit] target

For declaring the window or frame the link shall be dispalyed in.

[edit] Standard attributes

[edit] accesskey

[edit] alt

[edit] coords

[edit] href

[edit] nohef

[edit] shape

[edit] target

[edit] More info

A link to a page with more info, then the name of the site the info came from (i.e. W3Schools).

In other languages