HTML Tag <MAP>

HTML Tag <MAP>

<MAP> Specifies a container for client-side image map data. Inside the <MAP> container, you place instances of the <AREA> tag.

Attribute of <MAP> Tag

CLASS

Indicates which style class applies to the element.

<MAP CLASS="dkm" NAME="Tutorial">

Possible Values

Any Class Name.



ID

Indicates an identifier to associate with the map. You can also use this to apply styles to the object.

<MAP ID="dkm" NAME="tutorial">

Possible Values

Any ID Name.



NAME

Establishes a name for the map information you can later reference by the USEMAP=.attribute of the <IMG> tag.

<MAP NAME="housemap"> <IMG SRC="house.gif" USEMAP="#housemap" BORDER=0 ALT="Map of House"> </MAP>

Possible Values

Any Name



STYLE

Specifies Style Sheet commands that apply to the contents within the <MAP> tags.

<MAP STYLE="background: black">

Possible Values

CSS Property with Value.



TITLE

Specifies text assigned to the tag. You might use this attribute for context-sensitive help within the document. Browsers may use this to show tool tips.

<MAP TITLE="Tutorial Link">

Possible Values

Any Text Message.




CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad