HTML/CSS/Images/shape

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

"shape" sets the shape of an "a" or "area" element

   <source lang="html4strict">
   

<HTML> <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.microsoft.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>