--- title: Document.all slug: Web/API/Document/all tags: - API - DOM - Document - HTMLAllCollection - Property - Reference - all translation_of: Web/API/Document/all ---
{{DOMxRef("Document")}} 인터페이스의 read-only all
요소는 document node에 위치한{{DOMxRef("HTMLAllCollection")}} 반환한다. 간단하게 말하면 read-only all
요소는 페이지의 모든 contents를 반환 해준다.
var htmlAllCollection = document.all;
{{DOMxRef("HTMLAllCollection")}}는 문서 내에서 모든 node를 담고 있다.
Specification | Status | Comment |
---|---|---|
{{SpecName('HTML WHATWG', '#dom-document-all', 'all')}} | {{Spec2('HTML WHATWG')}} | Initial definition. |
{{Compat("api.Document.all")}}