当前位置: 首页 > 网络学院 > 客户端脚本教程 > HTML DOM > DOM Area

HTML DOM
DOM TableRow 对象
DOM Textarea 对象
DOM Window 对象

HTML DOM 中的 DOM Area


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-01   浏览: 1118 ::
收藏到网摘: n/a

Area Object
Area 对象

The Area object represents an area of an image-map (An image-map is an image with clickable areas). For each instance of an HTML <area> tag in a document, an Area object is created.
Area对象代表了一个图象映像(图片中的可点击区域)。HTML有<area>标签就有Area对象被建立

IE: Internet Explorer, F: Firefox, N: Netscape, W3C: World Wide Web Consortium (Internet Standard).

Area 对象属性

Property
属性
Description
描述
IE F O W3C
accessKey Sets or returns the keyboard key to access an area
设置或返回可访问area的键盘
5 1 No Yes
alt Sets or returns an alternate text to be displayed, if a browser cannot show an area
设置或返回可用来显示的替换文字,专门对付那些不能显示area的浏览器
5 1 9 Yes
coords Sets or returns the coordinates of a clickable area in an image-map
设置或返回热点图片可点区的坐标
5 1 9 Yes
hash Sets or returns the anchor part of the URL in an area
设置或返回area中锚点部分的URL
4 1 No No
host Sets or returns the hostname and port of the URL in an area
设置或返回在area里URL的hostname和端口
4 1 No No
href Sets or returns the URL of a link in an image-map
设置或返回热点图的连接URL
4 1 9 Yes
id Sets or returns the id of an area
设置或返回area的id
4 1 9 Yes
noHref Sets or returns whether an area should be active or inactive
设置或返回area应该是活动或是空闲
5 1 9 Yes
pathname Sets or returns the pathname of the URL in an area
设置或返回area里URL的路径名称
4 1 9 No
protocol Sets or returns the protocol of the URL in an area
设置或返回area里URL的协议
4 1 9 No
search Sets or returns the query string part of the URL in an area
设置或返回area里URL的查询字符串部分
4 1 9 No
shape Sets or returns the shape of an area in an image-map
设置或返回在热点图中area的形状
5 1 9 Yes
tabIndex Sets or returns the tab order for an area
设置或反货area的tab顺序
5 1 9 Yes
target Sets or returns where to open the link-URL in an area
设置或返回area中连接URL的打开方式
4 1 9 Yes

Standard Properties
标准属性

Property
属性
Description
描述
IE  F O W3C
className Sets or returns the class attribute of an element
设置或返回元素的class属性
5 1 9 Yes
dir Sets or returns the direction of text
设置或返回text的方向
5 1 9 Yes
lang Sets or returns the language code for an element
设置或返回元素的语言代码
5 1 9 Yes
title Sets or returns an element's advisory title
设置或返回元素的咨询标题
5 1 9 Yes

评论 (0) All

登陆 | 还没注册?