HTML/CSS/Images/map

Материал из Web эксперт
Версия от 11:16, 26 мая 2010; Admin (обсуждение | вклад) (1 версия)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

"map" specifies the coordinates of an image map

   <source lang="html4strict">
   

<html> <head> <title>map element example</title> </head> <body>

  <img src="http://www.wbex.ru/style/logo.png" 
       alt="http://www.wbex.ru" 
       width=200 
       height=100 
       usemap="#myMap">
     <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="0, 50, 100, 100" href="http://www.msn.ru">
     <area shape="rect" coords="100, 50, 200, 100" href="http://www.yahoo.ru">
     </map>

</body> </html>


     </source>