Dom Obj Anchor
# HTML DOM Anchor Object
* * *
## Anchor Object
The Anchor object represents an HTML hyperlink.
An Anchor object is created each time the `` tag appears in an HTML document.
An anchor can be used to create a link to another document (via the href attribute) or to create a bookmark within a document (via the name attribute).
You can access an anchor by searching the anchors[] array in the Document object, or by using document.getElementById().
* * *
## Anchor Object Properties
**W3C:** W3C Standard.
| Property | Description | W3C |
| :--- | :--- | :--- |
| (#) | Sets or returns the character set of the linked resource. | Yes |
| (#) | Sets or returns the URL of the linked resource. | Yes |
| (#) | Sets or returns the language code of the linked resource. | Yes |
| (#) | Sets or returns the name of a link. | Yes |
| (#) | Sets or returns the relationship between the current document and the target URL. | Yes |
| (#) | Sets or returns the relationship between the target URL and the current document. | Yes |
| (#) | Sets or returns where to open the linked resource. | Yes |
| (#) | Sets or returns the MIME type of the linked resource. | Yes |
## Standard Properties and Events
The Anchor object also supports standard (#) and (#).
YouTip