This article describes how JavaScript supports W3CDOM templates. It can be used as a reference for compatibility of JS frontend programming, if you need this document, you can refer to the object model of this document to allow access to all the document content and modifications, as standardized by the World Wide Web Federation (W3C. Almost all modern browsers support this mode.
Most of the traditional DOM functions in W3C DOM specifications are added with new important functions. Apart from supporting other array attributes of forms [], images [] and document objects, it defines methods to enable scripts to access and manipulate any document element, not just dedicated component-like forms and images.
Document attributes are stored in W3C DOM:
This model supports all attributes provided by traditional DOM. In addition, here is the document attribute. You can use W3C DOM to access the list:
In W3C DOM:
This model supports all methods provided by traditional DOM. In addition, here is a list of methods supported by W3C DOM:
Example:
This is very easy to manipulate using W3C DOM document elements (access and settings. You can use any method similar to getElementById, getElementsByName, or getelementsbytagname.
The following is an example of accessing the document attributes using the W3C DOM method:
Document Title