aboutsummaryrefslogtreecommitdiff
path: root/files/zh-tw/web/guide
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-tw/web/guide')
-rw-r--r--files/zh-tw/web/guide/dom/index.html1
-rw-r--r--files/zh-tw/web/guide/html/event_attributes/index.html1
2 files changed, 2 insertions, 0 deletions
diff --git a/files/zh-tw/web/guide/dom/index.html b/files/zh-tw/web/guide/dom/index.html
index 997730a412..fc26bc0bee 100644
--- a/files/zh-tw/web/guide/dom/index.html
+++ b/files/zh-tw/web/guide/dom/index.html
@@ -8,6 +8,7 @@ tags:
- NeedsTranslation
- TopicStub
translation_of: Web/API/Document_Object_Model
+translation_of_original: Web/Guide/API/DOM
---
<p>{{draft}}</p>
<p>The <a href="/docs/DOM">Document Object Model</a> is an API for <a href="/en-US/docs/HTML">HTML</a> and <a href="/en-US/docs/XML">XML</a> documents. It provides a structural representation of the document, enabling the developer to modify its content and visual presentation. Essentially, it connects web pages to scripts or programming languages.</p>
diff --git a/files/zh-tw/web/guide/html/event_attributes/index.html b/files/zh-tw/web/guide/html/event_attributes/index.html
index 6f57526dde..102e9cd314 100644
--- a/files/zh-tw/web/guide/html/event_attributes/index.html
+++ b/files/zh-tw/web/guide/html/event_attributes/index.html
@@ -3,6 +3,7 @@ title: Event attributes
slug: Web/Guide/HTML/Event_attributes
translation_of: >-
Learn/JavaScript/Building_blocks/Events#Inline_event_handlers_%E2%80%94_don%27t_use_these
+translation_of_original: Web/Guide/HTML/Event_attributes
---
<p><span class="seoSummary">每一個 HTML 元素都可以放置事件屬性,以藉此於事件發生時能執行 JavaScripte 程式。事件屬性的名稱都有一個前綴「on」,例如當使用者點選元素時要執行指定的 JavaScript,可以使用 </span><code>onclick</code><span class="seoSummary"> 屬性並把要執行的 JavaScript 當成屬性值。</span></p>