HTML/CSS/Images/area

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

"area" defines the clickable area on a graphic or image

   <source lang="html4strict">
   

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

   <img src="http://www.wbex.ru/style/logo.png" 
        alt="" 
        width="200" 
        height="100" 
        usemap="#myMap">
   <map name="myMap">
   <area shape="rect" coords="0, 0, 10, 50" href="http://www.wbex.ru">
   <area shape="rect" coords="100, 0, 20, 50" href="http://www.google.ru">
   <area shape="rect" coords="0, 50, 10, 10" href="http://www.demo2s.ru">
   <area shape="rect" coords="10, 50, 20, 10" href="http://www.google.ru">
   </map>

</body> </html>


     </source>