This page is not complete.

This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The Document interface's read-only all property returns an HTMLAllCollection rooted at the document node. In other words, it returns the entire contents of the page.


var htmlAllCollection = document.all;


An HTMLAllCollection which contains every node in the document.


Specification Status Comment
HTML Living Standard
The definition of 'all' in that specification.
Living Standard Initial definition.

Browser compatibility

No compatibility data found. Please contribute data for "api.document.all" (depth: 1) to the MDN compatibility data repository.

Document Tags and Contributors

Contributors to this page: mdnwebdocs-bot, Sheppy, jpmedley
Last updated by: mdnwebdocs-bot,