Previous Slide


The "USEMAP" Attribute

Next Slide

AN IMAGE IS TURNED INTO AN IMAGE MAP BY SPECIFYING A "MAP" THAT ASSOCIATES URLS WITH REGIONS OF THE IMAGE.

   <IMG 
       SRC="graphics/blandnails.gif" 
       USEMAP="#105map"
       BORDER=0 
       WIDTH="540" HEIGHT="360"
      >

  • IN THEORY, THE "MAP" ATTRIBUTE VALUE IS A URL, BUT DON'T COUNT ON USING MAPS FROM OTHER HTML FILES.

  • THE "BORDER" ATTRIBUTE IS OFTEN USED TO ELIMINATE THE BOX THAT NORMALLY SURROUNDS IMAGES THAT ARE LINKS.



The Web:
Technologies and
Techniques


Links to other course pages:


Williams College
Department of Computer Science
This page is part of a section of lecture slides related to " Image Maps " within the topic "HTML Image Features". Other slides within this section and other sections of slides for the topic "HTML Image Features" can be accessed using the links below.
  • Background Images
  • Specifying a Background
  • Transparent Image Backgrounds
  • Transparent Image Backgrounds (cont.)
  • Image Maps
  • Image Maps
  • Image Maps (cont.)
  • The "USEMAP" Attribute
  • Image Map Tags