YouTip LogoYouTip

Dom Obj Area

# HTML DOM Area Object * * * ## Area Object The Area object represents a region in an image map (an image map is an image with clickable areas). An Area object is created each time an `` tag appears in an HTML document. * * * ## Area Object Properties **W3C:** W3C Standard: | Property | Description | W3C | | :--- | :--- | :--- | | (#) | Sets or returns the alternative text when the browser cannot display a region. | Yes | | (#) | Sets or returns the coordinates of the clickable area in an image map. | Yes | | (#) | Sets or returns the anchor part of the URL in a region. | Yes | | (#) | Sets or returns the hostname and port of the URL in a region. | Yes | | (#) | Sets or returns the hostname part of the href attribute value. | Yes | | (#) | Sets or returns the href attribute value of a region. | Yes | | (#) | Sets or returns the nohref attribute value of a region. | Yes | | (#) | Sets or returns the pathname part of the href attribute value of a region. | Yes | | (#) | Sets or returns the port part of the href attribute value of a region. | Yes | | (#) | Sets or returns the protocol part of the href attribute value of a region. | Yes | | (#) | Sets or returns the query string part of the href attribute value of a region. | Yes | | (#) | Sets or returns the shape attribute value of a region. | Yes | | (#) | Sets or returns the target attribute value of a region. | Yes | ## Standard Properties and Events The Area object also supports standard (#) and (#).
← Dom Obj BaseDom Obj Anchor β†’