August 1999
Intermediate to advanced
1488 pages
72h 53m
English
document.anchors.length
The length property contains the number of Anchor objects that are in the document.
Listing 7.54 uses the anchor length property to loop through all the anchors in the document. During each pass through the loop, a link to each anchor in the document is created.
<html> <center><h1><u>The Music Intrument Page</u></h1></center> <hr><a name="Trumpet"><h4>Trumpet</h4></a> The trumpet is a brass instrument that can create bright, loud tones. The horn has 3 valves for changing the tone being played.<br> <hr><a name="Guitar"><h4>Guitar</h4></a> The guitar is ... |
Read now
Unlock full access