aboutsummaryrefslogtreecommitdiff
path: root/files/zh-tw/learn/javascript/building_blocks/events/index.html
diff options
context:
space:
mode:
authorFlorian Merz <me@fiji-flo.de>2021-02-11 13:12:21 +0100
committerFlorian Merz <me@fiji-flo.de>2021-02-11 13:12:21 +0100
commit4704bf920fb5a9e983bfb5b80c5dcac6ca347dc2 (patch)
tree81c7fddb46c0165a6dd0c9fcb330674b37a1a86c /files/zh-tw/learn/javascript/building_blocks/events/index.html
parent43a5cac2eff22c21071800e13bef12af9d3a37d0 (diff)
downloadtranslated-content-4704bf920fb5a9e983bfb5b80c5dcac6ca347dc2.tar.gz
translated-content-4704bf920fb5a9e983bfb5b80c5dcac6ca347dc2.tar.bz2
translated-content-4704bf920fb5a9e983bfb5b80c5dcac6ca347dc2.zip
unslug zh-tw: modify
Diffstat (limited to 'files/zh-tw/learn/javascript/building_blocks/events/index.html')
-rw-r--r--files/zh-tw/learn/javascript/building_blocks/events/index.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/files/zh-tw/learn/javascript/building_blocks/events/index.html b/files/zh-tw/learn/javascript/building_blocks/events/index.html
index 102e9cd314..9bb566a61d 100644
--- a/files/zh-tw/learn/javascript/building_blocks/events/index.html
+++ b/files/zh-tw/learn/javascript/building_blocks/events/index.html
@@ -1,9 +1,10 @@
---
title: Event attributes
-slug: Web/Guide/HTML/Event_attributes
+slug: Learn/JavaScript/Building_blocks/Events
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
+original_slug: Web/Guide/HTML/Event_attributes
---
<p><span class="seoSummary">每一個 HTML 元素都可以放置事件屬性,以藉此於事件發生時能執行 JavaScripte 程式。事件屬性的名稱都有一個前綴「on」,例如當使用者點選元素時要執行指定的 JavaScript,可以使用 </span><code>onclick</code><span class="seoSummary"> 屬性並把要執行的 JavaScript 當成屬性值。</span></p>