aboutsummaryrefslogtreecommitdiff
path: root/files/zh-tw/web/guide/html
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-10 15:07:40 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-10 15:07:40 -0500
commite3e12548adeb7e1dcfc4d5b32884a225ee2b499d (patch)
treee79f55a57428a312358befac396d4abe25730206 /files/zh-tw/web/guide/html
parent65cc6eabd71b1bceccf6fd3d3d4970c2955f3784 (diff)
downloadtranslated-content-e3e12548adeb7e1dcfc4d5b32884a225ee2b499d.tar.gz
translated-content-e3e12548adeb7e1dcfc4d5b32884a225ee2b499d.tar.bz2
translated-content-e3e12548adeb7e1dcfc4d5b32884a225ee2b499d.zip
adding translation_of_original to front-matter
Diffstat (limited to 'files/zh-tw/web/guide/html')
-rw-r--r--files/zh-tw/web/guide/html/event_attributes/index.html1
1 files changed, 1 insertions, 0 deletions
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>