Home > Web Front-end > JS Tutorial > A brief analysis of some important attributes of document objects in JS_javascript skills

A brief analysis of some important attributes of document objects in JS_javascript skills

WBOY
Release: 2016-05-16 16:56:50
Original
926 people have browsed it

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

Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template