Anchor
All anchors on a page are stored in the document's anchor array: window.document.anchors[]
.
Example:
<a name = "some_name"></a>
Properties
| FF, IE 3 | Contents of an anchor after the |
| FF, IE 3 | Hostname and the port of a link |
| FF, IE 3 | Hostname of an anchor |
| FF, IE 3 |
|
| FF, IE 4 | Anchor tag's name |
| FF, IE 3 | Part of an anchor after the host |
| FF, IE 3 | Port of an anchor (usually null) |
| FF, IE 3 | Protocol of an anchor (http and ftp are the most common) |
| FF, IE 3 | Additional attribute, called |
| FF, IE 3 | Part of an anchor following the |
| FF, IE 3 | HTML target of an anchor |
Get The Book of JavaScript, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.