Note: If you don't know what an element/tag is and/or how you must use it we recommend you read our HTML tags and attributes tutorial, which you can find in our HTML tutorials section.
Table of contents
Bypass table of contentsThe HTML area element defines a sector or area in an image map. There are three types of areas: circular, rectangular or poligonal.
Image maps are commonly used toghether with images to specify zones for them, which are usually linked to other documents or resources. These zones are declared with the HTML area element. This way, authors can link, for example, a circular portion of an image to another document.
In the following example we define an image map associated to a menu image. There, we specify three squares for each textual item and the three circles associated to them. The links point to the resources stated in the text.

The "id" attribute assigns an identifier to the associated element. This identifier must be unique in the document and can be used to refer to that element in other instances (e.g., from client-side scripts).
The "class" attribute assigns a class name (or a list of class names separated by spaces) to the container element. It's used together with style sheets and tells the browser the class (or classes) to which the element is associated.
A class gives presentational attributes to elements (read more at the Cascading Style Sheets tutorial).
This attribute is used to define presentational attributes for the containing element, and its value should be composed by style sheets properties. Although in some cases it can become useful, a better practice is to place presentational attributes in external files, relating them to elements with the "class" attribute. This way you keep the semantic and presentational parts of your document separated.
You can find more information about presentational attributes at the Cascading Style Sheets tutorial.
The purpose of this attribute is to provide a title for the element. Its value must be a short and accurate description of the element. Browsers usually render it as a "tool tip" when the user puts the mouse pointer over the element for a short period of time.
Specifies the language of an element's content. The default value is "unknown".
When writing XHTML 1.0 documents, the attribute used to specify the language of an elements is "xml:lang". For forward and backward compatibility both attributes can be used simultaneously as in the example below. Note that in XHTML 1.1, the "lang" attribute has been completely replaced by "xml:lang" and its use is no longer valid.
This attribute indicates the direction in which the texts of the element must be read. This includes content, attribute values and tables. It has two possible values that are case-insensitive:
Specifies the form of a shape used to define an area in an image map. Values are case-insensitive and must correspond to the ones in this list:
Specifies the coordinates and position of the shape defined in the "shape" attribute. The coordinates depend on the shape used:
Coordinates are relative to the top-left corner of the associated object. Coordinates have a length type and are separated by commas.
The "href" attribute specifies the destination resource, which the element is linking to. It may specify a resource in the same website or in an external one.
The value of this attribute provides a textual alternative for the piece of image the element affects, and therefore must describe it exactly. This is vital when the development of the website needs to reach visually impaired audiences.
Specifies the name of the frame where the destination document should be loaded. Refer to the frame-target type definition for further information.
Specifies the position of this element in the tabbing order. The tabbing order defines a sequence with all the elements than can receive the focus. Users can navigate this sequence via keyboard (usually with the "tab" key).
Relates the element to a character key. Most browsers allow users to access the element by pressing that key while holding down the "alt" key. The activation result depends on the element's nature. For links, this action automatically follows the link, while other elements simply get the focus.
The presence of this boolean attribute means that the area defined by the element isn not pointing to a resource (i.e., there's no link to follow).
Remember that in XHTML, boolean attributes must take their own names as value (e.g., attr_name="attr_name").
See a complete list and information about events in HTML
Diseño y desarrollo: Latitud29.com