diff options
author | Tanner Dolby <tannercdolby@gmail.com> | 2022-02-22 01:49:36 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-22 17:49:36 +0800 |
commit | 6e9fe98036090a37cc6247b873845505e5b512fb (patch) | |
tree | 5fc00117ddfd9f448eb9e8011b5bd7f6d8000e8d /files/zh-cn/web/http | |
parent | 70c3e11f3335e7701325f125fd712c84d6c1f9bf (diff) | |
download | translated-content-6e9fe98036090a37cc6247b873845505e5b512fb.tar.gz translated-content-6e9fe98036090a37cc6247b873845505e5b512fb.tar.bz2 translated-content-6e9fe98036090a37cc6247b873845505e5b512fb.zip |
Removes empty <div> or <p> elements from pages (#3093)
* Removes all empty paragraph elements
* Removes all empty div elements
* Preserve empty div in code snippet
* Preserve empty elements inside code snippets
* Remove fr files which were converted into markdown
* Web/CSS/transform-function/scaleX()/index.html
The file is already renamed to index.md。
* remove not needed file
* Resolve remaining conflict
Co-authored-by: julieng <julien.gattelier@gmail.com>
Co-authored-by: Masahiro FUJIMOTO <mfujimot@gmail.com>
Diffstat (limited to 'files/zh-cn/web/http')
6 files changed, 6 insertions, 6 deletions
diff --git a/files/zh-cn/web/http/authentication/index.html b/files/zh-cn/web/http/authentication/index.html index 85e2cbe41a..652a107a94 100644 --- a/files/zh-cn/web/http/authentication/index.html +++ b/files/zh-cn/web/http/authentication/index.html @@ -9,7 +9,7 @@ translation_of: Web/HTTP/Authentication --- <div>{{HTTPSidebar}}</div> -<div></div> + <p class="summary">HTTP 提供一个用于权限控制和认证的通用框架。最常用的HTTP认证方案是HTTP Basic authentication。本页介绍了通用的HTTP认证框架以及展示如何通过HTTP Basic authentication来限制权限访问您的服务器。</p> diff --git a/files/zh-cn/web/http/cors/errors/corsmissingallowcredentials/index.html b/files/zh-cn/web/http/cors/errors/corsmissingallowcredentials/index.html index 55d8df8ba3..750c7681c6 100644 --- a/files/zh-cn/web/http/cors/errors/corsmissingallowcredentials/index.html +++ b/files/zh-cn/web/http/cors/errors/corsmissingallowcredentials/index.html @@ -4,7 +4,7 @@ slug: Web/HTTP/CORS/Errors/CORSMIssingAllowCredentials translation_of: Web/HTTP/CORS/Errors/CORSMIssingAllowCredentials original_slug: Web/HTTP/CORS/Errors/CORS错误允许凭证 --- -<div></div> + <h2 id="理由">理由</h2> diff --git a/files/zh-cn/web/http/headers/content-disposition/index.html b/files/zh-cn/web/http/headers/content-disposition/index.html index 57815814bf..890905db52 100644 --- a/files/zh-cn/web/http/headers/content-disposition/index.html +++ b/files/zh-cn/web/http/headers/content-disposition/index.html @@ -12,7 +12,7 @@ translation_of: Web/HTTP/Headers/Content-Disposition <div>在常规的 HTTP 应答中,<code><strong>Content-Disposition</strong></code> 响应头指示回复的内容该以何种形式展示,是以<strong>内联</strong>的形式(即网页或者页面的一部分),还是以<strong>附件</strong>的形式下载并保存到本地。</div> -<div></div> + <p>在 multipart/form-data 类型的应答消息体中,<strong><code>Content-Disposition</code></strong> 消息头可以被用在 multipart 消息体的子部分中,用来给出其对应字段的相关信息。各个子部分由在{{HTTPHeader("Content-Type")}} 中定义的<strong>分隔符</strong>分隔。用在消息体自身则无实际意义。</p> diff --git a/files/zh-cn/web/http/headers/set-cookie/samesite/index.html b/files/zh-cn/web/http/headers/set-cookie/samesite/index.html index ca24138993..5ff14ebc54 100644 --- a/files/zh-cn/web/http/headers/set-cookie/samesite/index.html +++ b/files/zh-cn/web/http/headers/set-cookie/samesite/index.html @@ -3,7 +3,7 @@ title: SameSite cookies slug: Web/HTTP/Headers/Set-Cookie/SameSite translation_of: Web/HTTP/Headers/Set-Cookie/SameSite --- -<div></div> + <p><strong><code>SameSite</code></strong> 是HTTP响应头 <span class="seoSummary">{{HTTPHeader("Set-Cookie")}}</span> 的属性之一。它允许您声明该Cookie是否仅限于第一方或者同一站点上下文。</p> diff --git a/files/zh-cn/web/http/headers/user-agent/index.html b/files/zh-cn/web/http/headers/user-agent/index.html index 7645fbf643..263a3856aa 100644 --- a/files/zh-cn/web/http/headers/user-agent/index.html +++ b/files/zh-cn/web/http/headers/user-agent/index.html @@ -11,7 +11,7 @@ translation_of: Web/HTTP/Headers/User-Agent --- <div>{{HTTPSidebar}}</div> -<div></div> + <p><strong>User-Agent</strong> 首部包含了一个特征字符串,用来让网络协议的对端来识别发起请求的用户代理软件的应用类型、操作系统、软件开发商以及版本号。</p> diff --git a/files/zh-cn/web/http/status/410/index.html b/files/zh-cn/web/http/status/410/index.html index ab41d9bbe4..91c4605397 100644 --- a/files/zh-cn/web/http/status/410/index.html +++ b/files/zh-cn/web/http/status/410/index.html @@ -7,7 +7,7 @@ translation_of: Web/HTTP/Status/410 <div>HTTP <code><strong>410</strong></code><strong><code> 丢失</code></strong> 说明请求的目标资源在原服务器上不存在了,并且是永久性的丢失。如果不清楚是否为永久或临时的丢失,应该使用{{HTTPStatus(404)}} </div> -<div></div> + <div class="note"> <p>410 响应默认会被缓存</p> |