Latest web development tutorials

HTML DOM 지역 개체

지역 객체

영역 오브젝트 영역의 이미지를 나타내는 맵 (이미지 맵 클릭 부분을 갖는 영상을 의미)

태그마다 나타납니다 <지역> HTML 문서에서, 그것은 지역 객체를 생성합니다.


지역 개체 속성

W3C : W3C 표준 :

属性 描述 W3C
alt 设置或返回当浏览器无法显示某个区域时的替换文字。 Yes
coords 设置或返回图像映射中可点击区域的坐标。 Yes
hash 设置或返回某个区域中 URL 的锚部分。 Yes
host 设置或返回某个区域中 URL 的主机名和端口。 Yes
hostname 设置或返回href属性值得主机部分。 Yes
href 设置或返回某个区域中href属性值 Yes
noHref 设置或者返回某个区域的 nohref 属性值。 Yes
pathname 设置或者返回某个区域 href 属性值的路径名部分。 Yes
port 设置或者返回某个区域 href 属性值的端口部分。 Yes
protocol 设置或者返回某个区域 href 属性值的协议部分。 Yes
search 设置或者返回某个区域 href 属性值的查询字符串部分。 Yes
shape 设置或者返回某个区域 shape属性值。 Yes
target 设置或者返回某个区域 target 属性值。 Yes

표준 속성 및 이벤트

지역 객체는 표준 지원 속성이벤트를 .