Computer >> Hướng Dẫn Máy Tính >  >> Lập Trình >> JavaScript

Danh sách thuộc tính Document truy cập được bằng W3C DOM

Các thuộc tính document quan trọng trong W3C DOM:

STTProperty & Mô tả
1body: Tham chiếu đến element <body>.
2defaultView: Read-only, đại diện cho window chứa document.
3documentElement: Read-only, tham chiếu đến element <html>.
4implementation: Read-only, đối tượng DOMImplementation tạo document này.