Defines the properties and methods inherited by objects in the HTMLAreaElement prototype chain.
Syntax
| HTML | N/A |
|---|
| Scripting | HTMLAreaElement.prototype |
|---|
Members Table
The following table lists the members exposed by the
HTMLAreaElement Constructor
object.
Attributes/Properties
| Attribute | Property | Description |
|---|
| ALT | alt |
Sets or retrieves a text alternative to the graphic. |
| COORDS | coords |
Sets or retrieves the coordinates of the object. |
| hash |
Sets or retrieves the subsection of the href property that follows the number sign (#). |
| host |
Sets or retrieves the hostname and port number of the location or URL. |
| hostname |
Sets or retrieves the host name part of the location or URL. |
| HREF | href |
Sets or retrieves a destination URL or an anchor point. |
| NOHREF | noHref |
Sets or gets whether clicks in this region cause action. |
| pathname |
Sets or retrieves the file name or path specified by the object. |
| port |
Sets or retrieves the port number associated with a URL. |
| protocol |
Sets or retrieves the protocol portion of a URL. |
| search |
Sets or retrieves the substring of the href property that follows the question mark. |
| SHAPE | shape |
Gets or sets the shape of the object. |
| TARGET | target |
Sets or retrieves the window or frame at which to target content. |
Remarks
For more information on this and other DOM Prototypes
,
see
Document Object Model Prototypes, Part 1: Introduction.
This prototype derives from the
Element Constructor.
Applies To
See Also