• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Part VII: Appendixes > The area Object [3]

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 the query portion of the URL (after the question mark).

  • target— A string value reflecting the target attribute of the <area> element.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint