The Map Tag

ken's picture

Opening tag : <MAP>
Closing tag: </MAP>

Purpose:
The Map tag is used alongside the Area tag to produce an image map. The area tags are included inside the map tags.

Attributes:
Class=class
- Specifies a style class for text display.

Dir=direction
- Useful for languages which should be read from right to left.

Event=Javascript
- Allows javascript to be associated to an event.

ID=name
- By allocating an ID the map can be referenced and changed dynamically.

Name=Name
- Important! The map needs to have a name so you can use it.

Lang=language
- Specifies the language of the text inside the tags

Style=style
- Specifies a style to override other styles.

Title=title
- It is allowed to add a title to a map tag. Perhaps useful to increase keyword usage.

Example:

<MAP Name="sample">
<AREA href="http://www.webguruguide.com" shape="rect" coords="0,0,50,60">
</MAP>
<img src="Picture.jpg" usemap="#sample">

Related Tags:

<area></area> - Area Tag.
<IMG> - Image Tag.

Back to:
Alphabetical Guide
Guide By Type