Images and Objects

area

Defines a section in an image map. This tag must be within a map tag. It is used to define a specific clickable area in a image. The clickable area can be defined using the shape attribute. The place of the clickable are is defined by the coords attribute. Notices the alt is a required attribute.

Syntax

<area attributes />

Example

<map id=”imagemap”>
   <area alt=”example” shape=”circle” coords=”0, 20, 50, 20” href=”http://www.htmlsoup.net” />
</map>

Related tags

CSS Properties

HTML attributes

Search the Soup!