aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--files/zh-cn/learn/html/introduction_to_html/getting_started/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/learn/html/introduction_to_html/getting_started/index.html b/files/zh-cn/learn/html/introduction_to_html/getting_started/index.html
index 70eeac7352..51d207941d 100644
--- a/files/zh-cn/learn/html/introduction_to_html/getting_started/index.html
+++ b/files/zh-cn/learn/html/introduction_to_html/getting_started/index.html
@@ -435,7 +435,7 @@ translation_of: Learn/HTML/Introduction_to_HTML/Getting_started
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;</pre>
然而这种写法已经过时了,这些内容已成为历史。只需要知道 <code>&lt;!DOCTYPE html&gt;</code> 是最短有效的文档声明。</li>
<li><code>&lt;html&gt;&lt;/html&gt;</code>: <code>&lt;html&gt;</code>元素。这个元素包裹了整个完整的页面,是一个根元素。</li>
- <li><code>&lt;head&gt;&lt;/head&gt;</code>: <code>&lt;head&gt;元素</code>. 这个元素是一个容器,它包含了所有你想包含在HTML页面中但不想在HTML页面中显示的内容。这些内容包括你想在搜索结果中出现的关键字和页面描述,CSS样式,字符集声明等等。以后的章节能学到更多关于&lt;head&gt;元素的内容。</li>
+ <li><code>&lt;head&gt;&lt;/head&gt;</code>: <code>&lt;head&gt;</code>元素。这个元素是一个容器,它包含了所有你想包含在HTML页面中但不想在HTML页面中显示的内容。这些内容包括你想在搜索结果中出现的关键字和页面描述,CSS样式,字符集声明等等。以后的章节能学到更多关于&lt;head&gt;元素的内容。</li>
<li><code>&lt;meta charset="utf-8"&gt;</code>: 这个元素设置文档使用utf-8字符集编码,utf-8字符集包含了人类大部分的文字。基本上他能识别你放上去的所有文本内容。毫无疑问要使用它,并且它能在以后避免很多其他问题。</li>
<li><code>&lt;title&gt;&lt;/title&gt;</code>: 设置页面标题,出现在浏览器标签上,当你标记/收藏页面时它可用来描述页面。</li>
<li><code>&lt;body&gt;&lt;/body&gt;</code>: <code>&lt;body&gt;</code>元素。 包含了你访问页面时所有显示在页面上的内容,文本,图片,音频,游戏等等。</li>