HTML <객체> usemap 속성

❮ HTML <객체> 태그

예시

이미지 맵을 사용하는 <object> 요소:

<object data="planets.gif" width="145" height="126" usemap="#planetmap"></object>

정의 및 사용

usemap속성은 개체와 함께 사용할 이미지 맵의 이름을 지정합니다 .

이미지 맵은 클릭 가능한 영역이 있는 이미지입니다.

usemap속성은 <map> 요소의 속성 name과 연결되며 개체와 지도 간의 관계를 생성합니다.


브라우저 지원

Attribute
usemap Not supported Not supported Yes Not supported Not supported

통사론

<object usemap="#mapname">

속성 값

Value Description
#mapname A hash character ("#") plus the name of the map element to use

❮ HTML <객체> 태그