Document JavaScript Tutorial

Syntax

document.anchors.length
The length property contains the number of Anchor objects that are in the document.


    

Trumpet


    A

    

Guitar


    B

    

Piano


    C