2.2.2.2 HTMLAreaElement

The HTMLAreaElement interface specifies the shape of a hot spot in a client-side image map.

The HTMLAreaElement interface has been extended with the following attributes:

  • hash

  • host

  • hostname

  • pathname

  • port

  • protocol

  • search

     //Introduced in Internet Explorer.
     interface HTMLAreaElement : HTMLElement {
                 attribute DOMString       hash;
                 attribute DOMString       host;
                 attribute DOMString       hostname;
                 attribute DOMString       pathname;
                 attribute DOMString       port;
                 attribute DOMString       protocol;
                 attribute DOMString       search;
     };
    
Show: