Home >Web Front-end >JS Tutorial >Other Objects in JavaScript_Basics
anchors[]; links[]; Link connection object
usage: document.anchors[[x]]; document.links[[x]];
Document.anchors is an array , including all anchor tags in the document ( tags containing the name attribute), and a subscript is defined for each anchor tag starting from 0 according to the order in the document.
Document.links is also an array, containing all link tags in the document (including the tag of the href attribute and the