The area Object [3]

The area object reflects a clickable area defined in an imagemap; area objects appear as entries in the links array of the document object.

Properties

  • hash— A string value indicating an anchor name from the URL.

  • host— A string value reflecting the host and domain name portion of the URL.

  • hostname— A string value indicating the host, domain name, and port number from the URL.

  • href— A string value reflecting the entire URL.

  • pathname— A string value reflecting the path portion of the URL (excluding the host, domain name, port number, and protocol).

  • port— A string value indicating the port number from the URL.

  • protocol— A string value indicating the protocol portion of the URL, including the trailing colon.

  • search— A string value specifying ...

Get Platinum Edition Using XHTML™, XML, and Java™ 2 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.