USEMAP Map File Example

The image map data for a client-side image map is stored in a section within the document tagged with the <MAP> tag. Its only contents should be one or more <AREA> tags that associate coordinate regions with URLs.

Here is an image map section called home:

<MAP NAME="home">

<AREA SHAPE="rect" COORDS="19,18 145,61" HREF="http://refserver.lib.vt.edu/databases/FS/FS.html">

<AREA SHAPE="rect" COORDS="145,18 271,62" HREF="http://www.lib.vt.edu/Facilities/Facilities.html#RequestForms">

<AREA SHAPE="rect" COORDS="271,19 399,63" HREF="http://reserve.lib.vt.edu/">

<AREA SHAPE="rect" COORDS="399,18 519,63" HREF="http://urn.lib.vt.edu/VT/CC/campus_search">

<AREA SHAPE="rect" COORDS="17,61 518,89" HREF="http://scholar2.lib.vt.edu/spec/Friendshp.html">

</MAP>

Next Slide