Home > Article > Web Front-end > A brief analysis of some important attributes of document objects in JS_javascript skills
Every element in the page and their attributes can be accessed through these attributes, and each tag can access their attributes through their corresponding array
1: forms array object: a collection of all form tags in the code web page
2: anchors array object: specifies the collection of all tags in the web page that specify the name or id attribute, but does not include the set of href tags specified
3: links array object refers to the collection of all tags that specify the href attribute
Four: images array object: specifies the collection of all tags in the document
5: scripts array object: represents the collection of all