This page was translated from English by the community. Learn more and join the MDN Web Docs community.

View in English Always switch to English

Document.all

Deprecated

Avoid using this feature in new projects. This feature may be a candidate for removal from web standards or browsers.

The Document Свойство all только для чтения интерфейса возвращает: HTMLAllCollection С корнем в узле документа. Другими словами, он возвращает все содержимое страницы.

Синтаксис

var htmlAllCollection = document.all;

Параметры

В HTMLAllCollection содержится все узлы в документе.

Спецификации

Specification
HTML
# dom-document-all

Совместимость с браузерами