diff options
Diffstat (limited to 'files/zh-tw/web/api/htmldocument')
-rw-r--r-- | files/zh-tw/web/api/htmldocument/index.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/files/zh-tw/web/api/htmldocument/index.html b/files/zh-tw/web/api/htmldocument/index.html new file mode 100644 index 0000000000..7317d54508 --- /dev/null +++ b/files/zh-tw/web/api/htmldocument/index.html @@ -0,0 +1,16 @@ +--- +title: HTMLDocument +slug: Web/API/HTMLDocument +translation_of: Web/API/HTMLDocument +--- +<p>{{ APIRef("HTML DOM") }}</p> + +<p><strong><code>HTMLDocument</code></strong> 是一個關於 {{domxref("Document_Object_Model", "DOM")}} 的抽象介面,提供了 {{domxref("Document")}} 定義之外的 XML 文件屬性及方法,以用來操作 HTML。</p> + +<p><code>window.document</code> 為 <code>HTMLDocument</code> 的物件實體,<code>HTMLDocument</code> 所有屬性與方法的說明已包含在 <code>Document</code> 頁面。由於現在的 <code>HTMLDocument</code> 是透過了綁定轉型(binding-specific casting)的方式來運作,所以 <code>HTMLDocument</code> 已不再是繼承 <code>Document</code>。</p> + +<h2 id="規範">規範</h2> + +<ul> + <li><a class="external" href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-26809268" rel="freelink">http://www.w3.org/TR/DOM-Level-2-HTM...ml#ID-26809268</a></li> +</ul> |