A target for a hyperlink.
Browser/User Agent Support
| IE | Mozilla | Netscape | Opera | Safari | 3.0+ | 1.0+ | 2.0+ | 7.0+ | 1.0+ |
|---|
Constructors
| Constructor | IE | Mozilla | Netscape | Opera | Safari |
|---|---|---|---|---|---|
Creates a new instance of an Anchor. | 3.0+ | 1.0+ | 2.0+ | 7.0+ | 1.0+ |
Properties
| Property | IE | Mozilla | Netscape | Opera | Safari |
|---|---|---|---|---|---|
Name of the anchor. | 3.0+ | 1.0+ | 4.0+ | 7.0+ | 1.0+ |
Text of the anchor. | no | no | 4.0+ | 7.0+ | no |
References
anchors[] property of the Document object | Link | HTMLAnchorElement
Availability
JavaScript 1.2 | W3C
