📄 dom_obj_area.asp@output=print
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-US" xml:lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>HTML DOM Area Object</title>
<link rel="shortcut icon" href="../favicon.ico" type="image/x-icon" />
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta name="Keywords" content="xml,tutorial,html,dhtml,css,xsl,xhtml,javascript,asp,ado,vbscript,dom,sql,colors,soap,php,authoring,programming,training,learning,beginner's guide,primer,lessons,school,howto,reference,examples,samples,source code,tags,demos,tips,links,FAQ,tag list,forms,frames,color table,w3c,cascading style sheets,active server pages,dynamic html,internet,database,development,Web building,Webmaster,html guide" />
<meta name="Description" content="Free HTML XHTML CSS JavaScript DHTML XML DOM XSL XSLT RSS AJAX ASP ADO PHP SQL tutorials, references, examples for web building." />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="cache-control" content="no-cache" />
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "../../https@ssl./default.htm" : "../../www./default.htm");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-3855518-1");
pageTracker._initData();
pageTracker._trackPageview();
</script>
</head>
<body>
<p>From <b>http://www.w3schools.com</b> (Copyright Refsnes Data)</p>
<h1>HTML DOM Area Object</h1>
<hr />
<h2>Area Object</h2>
<p>The Area object represents an area of an image-map (An image-map is an image
with clickable regions).</p>
<p>For each instance of an <area> tag in an HTML document, an Area object is
created.</p>
<p>
<b>IE:</b> Internet Explorer, <b>F:</b> Firefox, <b>O:</b> Opera, <b>W3C:</b>
World Wide Web Consortium (Internet Standard).</p>
<h3>Area Object Properties</h3>
<table class="ex" cellspacing="0" border="1" width="100%">
<tr>
<th width="20%" align="left">Property</th>
<th width="60%" align="left">Description</th>
<th width="5%" align="left">IE</th>
<th width="4%" align="left">F</th>
<th width="4%" align="left">O</th>
<th width="7%" align="left">W3C</th>
</tr>
<tr>
<td valign="top"><a href="prop_area_accesskey.asp">accessKey</a></td>
<td valign="top">Sets or returns the keyboard key to access an area</td>
<td valign="top">5</td>
<td valign="top">1</td>
<td valign="top">No</td>
<td valign="top">Yes</td>
</tr>
<tr>
<td valign="top"><a href="prop_area_alt.asp">alt</a></td>
<td valign="top">Sets or returns an alternate text to be displayed, if a browser cannot
show an area</td>
<td valign="top">5</td>
<td valign="top">1</td>
<td valign="top">9</td>
<td valign="top">Yes</td>
</tr>
<tr>
<td valign="top"><a href="prop_area_coords.asp">coords</a></td>
<td valign="top">Sets or returns the coordinates of a clickable area in an
image-map</td>
<td valign="top">5</td>
<td valign="top">1</td>
<td valign="top">9</td>
<td valign="top">Yes</td>
</tr>
<tr>
<td valign="top"><a href="prop_area_hash.asp">hash</a></td>
<td valign="top">Sets or returns the anchor
part of the URL in an area</td>
<td valign="top">4</td>
<td valign="top">1</td>
<td valign="top">No</td>
<td valign="top">No</td>
</tr>
<tr>
<td valign="top"><a href="prop_area_host.asp">host</a></td>
<td valign="top">Sets or returns the hostname and port of the URL in an area</td>
<td valign="top">4</td>
<td valign="top">1</td>
<td valign="top">No</td>
<td valign="top">No</td>
</tr>
<tr>
<td valign="top"><a href="prop_area_href.asp">href</a></td>
<td valign="top">Sets or returns the URL of a link in an image-map</td>
<td valign="top">4</td>
<td valign="top">1</td>
<td valign="top">9</td>
<td valign="top">Yes</td>
</tr>
<tr>
<td valign="top"><a href="prop_area_id.asp">id</a></td>
<td valign="top">Sets or returns the id of an area</td>
<td valign="top">4</td>
<td valign="top">1</td>
<td valign="top">9</td>
<td valign="top">Yes</td>
</tr>
<tr>
<td valign="top"><a href="prop_area_nohref.asp">noHref</a></td>
<td valign="top">Sets or returns whether an area should be active or
inactive</td>
<td valign="top">5</td>
<td valign="top">1</td>
<td valign="top">9</td>
<td valign="top">Yes</td>
</tr>
<tr>
<td valign="top"><a href="prop_area_pathname.asp">pathname</a></td>
<td valign="top">Sets or returns the pathname of the URL in an area</td>
<td valign="top">4</td>
<td valign="top">1</td>
<td valign="top">9</td>
<td valign="top">No</td>
</tr>
<tr>
<td valign="top"><a href="prop_area_protocol.asp">protocol</a></td>
<td valign="top">Sets or returns the protocol of the URL in an area</td>
<td valign="top">4</td>
<td valign="top">1</td>
<td valign="top">9</td>
<td valign="top">No</td>
</tr>
<tr>
<td valign="top"><a href="prop_area_search.asp">search</a></td>
<td valign="top">Sets or returns the query string part of the URL in an area</td>
<td valign="top">4</td>
<td valign="top">1</td>
<td valign="top">9</td>
<td valign="top">No</td>
</tr>
<tr>
<td valign="top"><a href="prop_area_shape.asp">shape</a></td>
<td valign="top">Sets or returns the shape of an area in an image-map</td>
<td valign="top">5</td>
<td valign="top">1</td>
<td valign="top">9</td>
<td valign="top">Yes</td>
</tr>
<tr>
<td valign="top"><a href="prop_area_tabindex.asp">tabIndex</a></td>
<td valign="top">Sets or returns the tab order for an area</td>
<td valign="top">5</td>
<td valign="top">1</td>
<td valign="top">9</td>
<td valign="top">Yes</td>
</tr>
<tr>
<td valign="top"><a href="prop_area_target.asp">target</a></td>
<td valign="top">Sets or returns where to open the link-URL in an area</td>
<td valign="top">4</td>
<td valign="top">1</td>
<td valign="top">9</td>
<td valign="top">Yes</td>
</tr>
</table>
<h3>Standard Properties</h3>
<table class="ex" cellspacing="0" border="1" width="100%" id="table1">
<tr>
<th width="20%" align="left">Property</th>
<th width="60%" align="left">Description</th>
<th width="4%" align="left">IE </th>
<th width="4%" align="left">F</th>
<th width="5%" align="left">O</th>
<th width="7%" align="left">W3C</th>
</tr>
<tr>
<td valign="top"><a href="prop_classname.asp">className</a></td>
<td valign="top">Sets or returns the class attribute of an element</td>
<td valign="top">5</td>
<td valign="top">1</td>
<td valign="top">9</td>
<td valign="top">Yes</td>
</tr>
<tr>
<td valign="top"><a href="prop_dir.asp">dir</a></td>
<td valign="top">Sets or returns the direction of text</td>
<td valign="top">5</td>
<td valign="top">1</td>
<td valign="top">9</td>
<td valign="top">Yes</td>
</tr>
<tr>
<td valign="top"><a href="prop_lang.asp">lang</a></td>
<td valign="top">Sets or returns the language code for an element</td>
<td valign="top">5</td>
<td valign="top">1</td>
<td valign="top">9</td>
<td valign="top">Yes</td>
</tr>
<tr>
<td valign="top"><a href="prop_area_title.asp">title</a></td>
<td valign="top">Sets or returns an element's advisory title</td>
<td valign="top">5</td>
<td valign="top">1</td>
<td valign="top">9</td>
<td valign="top">Yes</td>
</tr>
</table>
<br />
<hr />
<p>From <b>http://www.w3schools.com</b> (Copyright Refsnes Data)</p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -