--- title: Document.all slug: Web/API/Document/all tags: - API - DOM - Document - HTMLAllCollection - Property - Reference - all translation_of: Web/API/Document/all ---
{{APIRef("DOM")}}{{Draft}}{{SeeCompatTable}}

{{DOMxRef("Document")}} 인터페이스의 read-only all 요소는 document node에 위치한{{DOMxRef("HTMLAllCollection")}} 반환한다. 간단하게 말하면 read-only all 요소는 페이지의 모든 contents를 반환 해준다.

Syntax

var htmlAllCollection = document.all;

Value

{{DOMxRef("HTMLAllCollection")}}는 문서 내에서 모든 node를 담고 있다.

Specifications

Specification Status Comment
{{SpecName('HTML WHATWG', '#dom-document-all', 'all')}} {{Spec2('HTML WHATWG')}} Initial definition.

Browser compatibility

{{Compat("api.Document.all")}}