Home  >  Article  >  Web Front-end  >  How to get list of accessible document properties via W3C DOM?

How to get list of accessible document properties via W3C DOM?

WBOY
WBOYforward
2023-09-01 16:05:061134browse

如何通过W3C DOM获取可访问的文档属性列表?

The following are the document properties that can be accessed using the W3C DOM -

Advanced number

##12 3##4Implementation
Properties & Description

BodyA reference to the Element object that represents the

tag of this document.

Ex - document.body

DefaultView Its read-only attribute represents

Ex - document.defaultView

DocumentElement Tag for the

document.

Ex - document.documentElement8/31/2008

This is a read-only property that represents the DOMImplementation object that represents the implementation that created this document.

Ex - document.implementation

The above is the detailed content of How to get list of accessible document properties via W3C DOM?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:tutorialspoint.com. If there is any infringement, please contact admin@php.cn delete