我們的志工尚未將本文翻譯為 正體中文 (繁體) 版本。加入我們,幫忙翻譯!
您也可以閱讀本文的 English (US) 版本。

Draft
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.

Syntax

var htmlAllCollection = document.all;

Value

An HTMLAllCollection which contains every node in the document.

Specifications

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.

文件標籤與貢獻者

此頁面的貢獻者: mdnwebdocs-bot, Sheppy, jpmedley
最近更新: mdnwebdocs-bot,