HTML Tags JavaScript Tutorial

Syntax

document.anchors[num].name
The name property holds the name of the anchor and is the way hyperlinks reference the anchor's position. This property is originally set by the NAME attribute in the tag.
The following example accesses the name Property of the Anchor Object.


    A|B|C
    

The Letter A


    A

    B

    

The Letter B


    C

    D

    E

    C

    D

    E

    C

    D

    E

    C

    D

    E

    C

    D

    E

    C

    D

    E

    C

    D

    E

    C

    D

    E

    

The Letter C


    F

    G