Name

Anchor

Synopsis

                     document.anchors[index]
document.anchors[name]

Description

An Anchor object represents an <a> tag with a name attribute, which serves to create a named position in a document.

Properties

name

The value of the name attribute of the <a> tag.

Get Webmaster in a Nutshell, Third 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.