HTML Advanced Functions
| Home |
Agenda | Next |
Image Maps
Hook it all together using
the <IMG> tag with the USEMAP attribute and
the <MAP> tag with the NAME attribute
- The USEMAP attribute tells the browser which map file to use (in the example below its "menu")
- The MAP tag begins and end the map file
- The NAME attribute is the name of the map file
For Example:
<IMG SRC="menu.gif" usemap="#menu">
<map name="menu">
<area shape="rect" coords="6,3,115,53" href="L04P030.htm">
<area shape="rect" coords="117,5,223,53" href="L04P040.htm">
<area shape="rect" coords="226,6,334,54" href="L04P050.htm">
<area shape="rect" coords="337,3,447,53" href="L04P060.htm">
<area shape="default" nohref>
</map>
will produce...
| Home |
Agenda | Next |
T10D045