HTML/CSS/Images/usemap

Материал из Web эксперт
Перейти к: навигация, поиск

"usemap" sets the image map for the map element

   <source lang="html4strict">
   

<HTML> <head> <Title>Example For usemap</Title> </head> <BODY> <map name="myMap">

  <area shape="rect" coords="0, 0, 100, 50" href=http://www.wbex.ru>
  <area shape="rect" coords="100, 0, 200, 50" href="http://www.google.ru">
  <area shape="rect" coords="200, 0, 300, 50" href="http://www.wbex.ru">

</map> <img src="http://www.wbex.ru/style/logo.png"

    alt="http://www.wbex.ru" 
    width=300 
    height=100 
    usemap="#myMap">

</BODY> </HTML>


     </source>