aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--files/zh-cn/learn/javascript/first_steps/what_is_javascript/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/learn/javascript/first_steps/what_is_javascript/index.html b/files/zh-cn/learn/javascript/first_steps/what_is_javascript/index.html
index 313a02adc1..4f7add7614 100644
--- a/files/zh-cn/learn/javascript/first_steps/what_is_javascript/index.html
+++ b/files/zh-cn/learn/javascript/first_steps/what_is_javascript/index.html
@@ -258,7 +258,7 @@ function updateName() {
<ol dir="ltr">
<li>首先,下载示例文件 <a href="https://github.com/roy-tian/learning-area/blob/master/javascript/introduction-to-js-1/what-is-js/apply-javascript.html" id="92a6bf0d0009a65dbe8e2051e58c9e9c-69e65808c197b337a320d1613964f0ea3e3ba5f1" title="apply-javascript.html">apply-javascript.html</a>。放在一个好记的文件夹里。</li>
<li>分别在浏览器和文本编辑器中打开这个文件。你会看到这个 HTML 文件创建了一个简单的网页,其中有一个可点击按钮。</li>
- <li><font face="Open Sans, Arial, sans-serif">然后转到文本编辑器,在 </font><code>&lt;/body&gt;</code> 标签结束前插入以下代码:
+ <li><font face="Open Sans, Arial, sans-serif">然后转到文本编辑器,在 </font><code>&lt;/head&gt;</code> 标签结束前插入以下代码:
<pre class="brush: html notranslate">&lt;script&gt;
// 在此编写 JavaScript 代码