HTML 모양 속성


정의 및 사용

shape속성은 영역의 모양을 지정합니다 .

속성 은 shape속성과 함께 사용되어 영역의 크기, 모양 및 배치를 지정합니다. coords


에 적용

속성 은 shape다음 요소에서 사용할 수 있습니다.

요소 기인하다
<지역> 모양

예시

클릭 가능한 영역이 있는 이미지 맵:

<img src ="planets.gif" width="145" height="126" alt="Planets"
usemap="#planetmap">

<map name="planetmap">
  <area shape="rect" coords="0,0,82,126" href="sun.htm" alt="Sun">
  <area shape="circle" coords="90,58,3" href="mercur.htm" alt="Mercury">
  <area shape="circle" coords="124,58,8" href="venus.htm" alt="Venus">
</map>

브라우저 지원

Attribute
shape Yes Yes Yes Yes Yes