From 640955445c8389c55b2868aa8423292d2077d532 Mon Sep 17 00:00:00 2001 From: Malaaaa <37627837+Malaaaa@users.noreply.github.com> Date: Tue, 8 Mar 2022 03:11:23 -0500 Subject: deleting "index.html" in some links (#4432) * fix some links by deleting index.html * fix web description error the description text is different with the image shows --- .../getting_started_with_the_web/how_the_web_works/index.html | 4 ++-- .../introduction_to_html/the_head_metadata_in_html/index.html | 9 +++++---- 2 files changed, 7 insertions(+), 6 deletions(-) (limited to 'files') diff --git a/files/zh-cn/learn/getting_started_with_the_web/how_the_web_works/index.html b/files/zh-cn/learn/getting_started_with_the_web/how_the_web_works/index.html index aa5a97b3e7..fb4631e8bc 100644 --- a/files/zh-cn/learn/getting_started_with_the_web/how_the_web_works/index.html +++ b/files/zh-cn/learn/getting_started_with_the_web/how_the_web_works/index.html @@ -89,12 +89,12 @@ translation_of: Learn/Getting_started_with_the_web/How_the_Web_works

解析组成文件的顺序

-

当浏览器向服务器发送请求获取 HTML 文件时,HTML 文件通常包含 "link" 和 "script" 元素,这些元素分别指向了外部的 CSS 样式表文件和 JavaScript 脚本文件。了解这些文件被浏览器解析的顺序是很重要的:

+

当浏览器向服务器发送请求获取 HTML 文件时,HTML 文件通常包含 "link" 和 "script" 元素,这些元素分别指向了外部的 CSS 样式表文件和 JavaScript 脚本文件。了解这些文件被浏览器解析的顺序是很重要的:

diff --git a/files/zh-cn/learn/html/introduction_to_html/the_head_metadata_in_html/index.html b/files/zh-cn/learn/html/introduction_to_html/the_head_metadata_in_html/index.html index a5c51b3ff8..f6a176d75b 100644 --- a/files/zh-cn/learn/html/introduction_to_html/the_head_metadata_in_html/index.html +++ b/files/zh-cn/learn/html/introduction_to_html/the_head_metadata_in_html/index.html @@ -135,10 +135,11 @@ started with developing web sites and applications.">
  1. 访问 MDN Web Docs
  2. 查看网页源代码(通过鼠标右键点击网页在弹出的菜单中选择[查看网页源代码]
  3. -
  4. 找到description的meta标签。就和如下展示的这样: -
    <meta name="description" content="The Mozilla Developer Network (MDN) provides
    -information about Open Web technologies including HTML, CSS, and APIs for both
    -Web sites and HTML5 Apps. It also documents Mozilla products, like Firefox OS.">
    +
  5. 找到description的meta标签。就和如下展示的这样:+ +
    <meta name="description" content="The MDN Web Docs site
    +    provides information about Open Web technologies
    +    including HTML, CSS, and APIs for both Web sites and
    +    progressive web apps.">
  6. 现在,在你喜欢的搜索引擎里搜索“MDN Web Docs” (下图展示的是在谷歌搜索里的情况) 。你会看到description <meta> and <title> 元素如何在搜索结果里显示— 很值得这样做哦!
-- cgit v1.2.3-54-g00ecf