ÍøÂçѧԺ w3popÉçÇø ÍøÂç×ÊÔ´ ITÐÂÎÅ

w3pop.com :: ÍøÂçѧԺ :: HTML DOM :: DOM Area

»áÔ±µÇ½

ÕʺÅ

ÃÜÂë

»Ø´ð

¼ÇסÃÜÂë

Íü¼ÇÃÜÂë? ×¢²á

HTML DOM
DOM Input Checkb..
DOM Input File ¶..
DOM Input Hidden..
DOM Input Passwo..
DOM Input Radio ..
DOM Input Reset ..
DOM Input Submit..
DOM Input Text ¶..
DOM Link ¶ÔÏó
DOM Location ¶ÔÏ..
DOM Meta ¶ÔÏó
DOM Navigator ¶Ô..
DOM ¶ÔÏó
DOM Option ¶ÔÏó
DOM Screen ¶ÔÏó
DOM Select ¶ÔÏó
DOM Style ¶ÔÏó
DOM Table ¶ÔÏó
DOM TableData ¶Ô..
DOM TableHeader ..

DOM Area


×÷Õß:w3pop.com ·­Òë/ÕûÀí:w3pop.com ·¢²¼:2007-04-28 ä¯ÀÀ:7540 :: ::

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