HTML <area> 대상 속성

❮ HTML <영역> 태그

예시

target 속성을 사용하여 이미지 맵에서 링크된 문서를 열 위치를 지정합니다.

<map name="planetmap">
<area shape="rect" coords="0,0,82,126" href="sun.htm" alt="Sun" target="_blank">
<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>

정의 및 사용

target속성은 링크된 문서를 열 위치를 지정합니다 .

href속성이 있는 경우에만 사용됩니다 .


브라우저 지원

Attribute
target Yes Yes Yes Yes Yes

통사론

<area target="_blank|_self|_parent|_top|framename">

속성 값

Value Description
_blank Opens the linked document in a new window or tab
_self Opens the linked document in the same frame as it was clicked
_parent Opens the linked document in the parent frame
_top Opens the linked document in the full body of the window
framename Opens the linked document in a named iframe

❮ HTML <영역> 태그