HTML <area> 모양 속성

❮ HTML <영역> 태그

예시

shape 속성을 사용하여 이미지 맵에서 각 영역의 모양을 지정합니다.

<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>

정의 및 사용

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

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


브라우저 지원

Attribute
shape Yes Yes Yes Yes Yes

통사론

<area shape="default|rect|circle|poly">

속성 값

Value Description
default Specifies the entire region
rect Defines a rectangular region
circle Defines a circular region
poly Defines a polygonal region

❮ HTML <영역> 태그