Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
yin1999 committed Jun 15, 2022
1 parent e54e612 commit 7cc76d9
Show file tree
Hide file tree
Showing 34 changed files with 1 addition and 36 deletions.
1 change: 0 additions & 1 deletion files/zh-cn/web/css/line-height/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

<p>{{EmbedInteractiveExample("pages/css/line-height.html")}}</p>

<p>The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> and send us a pull request.</p>

<h2 id="语法">语法</h2>

Expand Down
1 change: 0 additions & 1 deletion files/zh-cn/web/css/margin/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

<div>{{EmbedInteractiveExample("pages/css/margin.html")}}</div>

<p>这个可交互示例的源码保存在一个 GitHub 仓库中。如果你有兴趣为这个交互示例项目做作出贡献,请 clone 下 <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> 然后给我们提一个 pull request.</p>

<p>上、下外边框的设置对<em><a href="/zh-CN/docs/Web/CSS/Replaced_element">可替换</a></em>内联元素,如 {{HTMLElement("span")}} 和 {{HTMLElement("code")}},无效。</p>

Expand Down
1 change: 0 additions & 1 deletion files/zh-cn/web/css/outline-color/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

<div>{{EmbedInteractiveExample("pages/css/outline-color.html")}}</div>

<p>这个展示项目的源码由 GitHub 托管 . 如果你对这个展示项目感兴趣,可以 clone <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> 并向我们提交一个 pull request.</p>

<p>大多时候使用{{cssxref("outline")}}而不是<code> outline-style</code>,<code> outline-width 和</code><code> outline-color</code>会更方便。</p>

Expand Down
1 change: 0 additions & 1 deletion files/zh-cn/web/css/padding/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

<div>{{EmbedInteractiveExample("pages/css/padding.html")}}</div>

<p>这个可交互示例的源码保存在一个 GitHub 仓库中。如果你有兴趣为这个交互示例项目做作出贡献,请 clone 下 <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> 然后给我们提一个 pull request.</p>

<p>一个元素的内边距区域指的是其内容与其边框之间的空间。</p>

Expand Down
1 change: 0 additions & 1 deletion files/zh-cn/web/css/scroll-margin/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

<div>{{EmbedInteractiveExample("pages/css/scroll-margin.html")}}</div>

<p>这个示例的代码存放在 Github 仓库。如果你想对这个项目贡献代码,请从 <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> 克隆项目,并且向我们提交 PR。</p>

<p><code>scroll-margin</code> 属性的值代表用于将盒元素拖拽到显示区域的拖拽滚动区域的起点。拖拽滚动区域由是由转换后边框大小的盒元素决定的,它会找到盒元素的矩形边界(在滚动的容器的坐标空间轴上),并添加指定的起点。</p>

Expand Down
2 changes: 1 addition & 1 deletion files/zh-cn/web/css/transform/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ <h2 id="语法">语法</h2>
<h3 id=""></h3>

<dl>
<dt>">{{cssxref("&lt;transform-function&gt;")}}</dt>
<dt>{{cssxref("&lt;transform-function&gt;")}}</dt>
<dd>要应用的一个或多个 CSS 变换函数。变换函数按从左到右的顺序相乘,这意味着复合变换按从右到左的顺序有效地应用。</dd>
<dt><code>none</code></dt>
<dd>不应用任何变换。</dd>
Expand Down
1 change: 0 additions & 1 deletion files/zh-cn/web/css/width/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

<div>{{EmbedInteractiveExample("pages/css/width.html")}}</div>

<p>The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> and send us a pull request.</p>

<p>{{ cssxref("min-width") }} 和 {{ cssxref("max-width") }} 属性的优先级高于 {{ cssxref("width") }}。</p>

Expand Down
1 change: 0 additions & 1 deletion files/zh-cn/web/css/z-index/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

<p>{{EmbedInteractiveExample("pages/css/z-index.html")}}</p>

<p>本互动示例中源代码储存在 GitHub 仓库中。若你想要为互动示例项目贡献(代码),请克隆 <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> 并给我们发送合并代码请求。</p>

<p>对于一个已经定位的盒子(即其 <code>position</code> 属性值不是 <code>static</code>,这里要注意的是 CSS 把元素看作盒子),<code>z-index</code> 属性指定:</p>

Expand Down
1 change: 0 additions & 1 deletion files/zh-cn/web/html/element/abbr/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@



<p>Github 的仓库中存储了该可交互化的示例项目。如果宁愿意为此可交互化的示例项目作出贡献,请克隆<a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> 并向我们提起 pull 请求。</p>

<p>这篇文章: <em><a href="/en-US/Learn/HTML/Howto/Mark_abbreviations_and_make_them_understandable">How to mark abbreviations and make them understandable</a></em> 是一份学习使用 <code>&lt;abbr&gt;</code> 与其他相关元素的指南。</p>

Expand Down
1 change: 0 additions & 1 deletion files/zh-cn/web/html/element/address/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

<div>{{EmbedInteractiveExample("pages/tabbed/address.html", "tabbed-standard")}}</div>

<p>The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples </a> and send us a pull request.</p>

<p>       由<code>&lt;address&gt;</code>元素中任何形式的内容所提供的联系信息适用于上下文的背景信息,可以是必要的任何一种联系方式,比如真实地址、URL、电子邮箱、电话号码、社交媒体账号、地理坐标等等。此元素应该包含联系信息对应的个人、团体或组织的名称。</p>

Expand Down
1 change: 0 additions & 1 deletion files/zh-cn/web/html/element/article/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

<div>{{EmbedInteractiveExample("pages/tabbed/article.html", "tabbed-standard")}}</div>

<p>The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples </a> and send us a pull request.</p>

<p>给定文档中可以包含多篇文章;例如,阅读器在博客上滚动时一个接一个地显示每篇文章的文本,每个帖子将包含在<code>&lt;article&gt;</code>元素中,可能包含一个或多个<code>&lt;section&gt;</code></p>

Expand Down
1 change: 0 additions & 1 deletion files/zh-cn/web/html/element/aside/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

<div>{{EmbedInteractiveExample("pages/tabbed/aside.html", "tabbed-standard")}}</div>

<p>The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples </a> and send us a pull request.</p>

<table class="properties">
<tbody>
Expand Down
1 change: 0 additions & 1 deletion files/zh-cn/web/html/element/cite/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

<div>{{EmbedInteractiveExample("pages/tabbed/cite.html", "tabbed-standard")}}</div>

<p>The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples </a> and send us a pull request.</p>

<table class="properties">
<tbody>
Expand Down
1 change: 0 additions & 1 deletion files/zh-cn/web/html/element/colgroup/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

<div>{{EmbedInteractiveExample("pages/tabbed/colgroup.html","tabbed-taller")}}</div>

<p>The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples </a> and send us a pull request.</p>

<table class="properties">
<tbody>
Expand Down
1 change: 0 additions & 1 deletion files/zh-cn/web/html/element/div/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

<div>{{EmbedInteractiveExample("pages/tabbed/div.html","tabbed-standard")}}</div>

<p>The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples </a> and send us a pull request.</p>

<p>作为一个 “纯粹的” 容器,<code>&lt;div&gt;</code> 元素在语义上不表示任何特定类型的内容。然而,其可以将内容分组,从而可以使用{{htmlattrxref("class")}}或是{{htmlattrxref("id")}}属性方便的定义内容的格式,也可以在一段文档中划分标记出使用另一种语言书写的内容(使用{{htmlattrxref("lang")}} 属性)等等。</p>

Expand Down
1 change: 0 additions & 1 deletion files/zh-cn/web/html/element/header/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

<div>{{EmbedInteractiveExample("pages/tabbed/header.html", "tabbed-standard")}}</div>

<p>The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples </a> and send us a pull request.</p>

<table class="properties">
<tbody>
Expand Down
1 change: 0 additions & 1 deletion files/zh-cn/web/html/element/heading_elements/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

<div>{{EmbedInteractiveExample("pages/tabbed/h1-h6.html", "tabbed-standard")}}</div>

<p>The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples </a> and send us a pull request.</p>

<table class="properties">
<tbody>
Expand Down
3 changes: 0 additions & 3 deletions files/zh-cn/web/html/element/input/email/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@

<div>{{EmbedInteractiveExample("pages/tabbed/input-email.html", "tabbed-standard")}}</div>

<p>The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone <a href="https://github.com/mdn/interactive-examples
&lt;https://github.com/mdn/interactive-examples>">https://github.com/mdn/interactive-examples </a> and send us a pull request.</p>

<table class="properties">
<tbody>
<tr>
Expand Down
1 change: 0 additions & 1 deletion files/zh-cn/web/html/element/input/range/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

<div>{{EmbedInteractiveExample("pages/tabbed/input-range.html", "tabbed-standard")}}</div>

<p>该交互式示例的源存储在 GitHub 存储库中。 如果您想为交互式示例项目做出贡献,请克隆 <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> 并向我们发送请求请求。</p>

<p>如果用户的浏览器不支持类型范围,它将回退并将其视为 <code>{{HTMLElement('input/text', 'text')}}</code> 输入。</p>

Expand Down
1 change: 0 additions & 1 deletion files/zh-cn/web/html/element/input/reset/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

<div>{{EmbedInteractiveExample("pages/tabbed/input-reset.html", "tabbed-standard")}}</div>

<p>该交互式示例的源代码存储在 GitHub 存储库中。 如果您想为交互式示例项目做出贡献,请克隆 <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a>,并发起拉取请求。</p>

<div class="note">
<p>您通常应该尽量避免在表单中包含重置按钮。 它们很少有实用性,事实上更有可能使用户误点而感到沮丧(通常是在尝试单击 “<a href="/zh-CN/docs/Web/HTML/Element/Input/submit">提交</a>” 按钮时)。</p>
Expand Down
1 change: 0 additions & 1 deletion files/zh-cn/web/html/element/input/text/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

<div>{{EmbedInteractiveExample("pages/tabbed/input-text.html", "tabbed-shorter")}}</div>

<p>交互示例的资源储存在一个 github 的仓库。如果你想为示例项目做贡献,请 clone <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> 并给我们发送 pull request.</p>

<table class="properties">
<tbody>
Expand Down
1 change: 0 additions & 1 deletion files/zh-cn/web/html/element/input/time/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@

<div>{{EmbedInteractiveExample("pages/tabbed/input-time.html", "tabbed-standard")}}</div>

<p>这个交互式示例的源代码存储在 GitHub 存储库中。如果您想对交互式示例项目作出贡献,请克隆 https://github.com/mdn/interactive-examples 并向我们发送请求。</p>

<h2 id="Appearance">Appearance</h2>

Expand Down
1 change: 0 additions & 1 deletion files/zh-cn/web/html/element/main/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

<div>{{EmbedInteractiveExample("pages/tabbed/main.html","tabbed-shorter")}}</div>

<p>The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples </a> and send us a pull request.</p>

<ul class="htmlelt">
<li><dfn><a href="/en-US/docs/Web/HTML/Content_categories" title="HTML/Content_categories">内容</a>类别</dfn><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Content_categories#Flow_content" style="font-family: 'Microsoft Yahei', sans-serif; background-color: rgba(255, 149, 0, 0.0980392);" title="HTML/Content_categories#Flow_content">Flow content</a>, palpable content.</li>
Expand Down
1 change: 0 additions & 1 deletion files/zh-cn/web/html/element/nav/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

<div>{{EmbedInteractiveExample("pages/tabbed/nav.html", "tabbed-standard")}}</div>

<p>The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples </a> and send us a pull request.</p>

<table class="properties">
<tbody>
Expand Down
1 change: 0 additions & 1 deletion files/zh-cn/web/html/element/ol/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

<p>{{EmbedInteractiveExample("pages/tabbed/ol.html", "tabbed-shorter")}}</p>

<p>The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples </a> and send us a pull request.</p>

<table class="properties">
<tbody>
Expand Down
1 change: 0 additions & 1 deletion files/zh-cn/web/html/element/picture/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

<div>{{EmbedInteractiveExample("pages/tabbed/picture.html", "tabbed-standard")}}</div>

<p>The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples </a> and send us a pull request.</p>

<p>要决定加载哪个 URL,{{Glossary("user agent")}} 检查每个 <code>&lt;source&gt;</code> 的 {{htmlattrxref("srcset", "source")}}、{{htmlattrxref("media", "source")}} 和 {{htmlattrxref("type", "source")}} 属性,来选择最匹配页面当前布局、显示设备特征等的兼容图像。</p>

Expand Down
1 change: 0 additions & 1 deletion files/zh-cn/web/html/element/pre/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

<div>{{EmbedInteractiveExample("pages/tabbed/pre.html", "tabbed-standard")}}</div>

<p>The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples </a> and send us a pull request.</p>

<div class="note">
<p><strong>注意:</strong> 你需要将该元素里的 '&lt;' 字符转义为 '&amp;lt;' 以保证代码里的关闭代码不被浏览器解释为标签。</p>
Expand Down
1 change: 0 additions & 1 deletion files/zh-cn/web/html/element/section/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

<div>{{EmbedInteractiveExample("pages/tabbed/section.html", "tabbed-standard")}}</div>

<p>The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples </a> and send us a pull request.</p>

<p>例如,导航菜单应该包含在{{htmlelement("nav")}}元素中,但搜索结果列表和地图显示及其控件没有特定元素,可以放在<code>&lt;section&gt;</code>里。</p>

Expand Down
1 change: 0 additions & 1 deletion files/zh-cn/web/html/element/small/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

<div>{{EmbedInteractiveExample("pages/tabbed/small.html", "tabbed-shorter")}}</div>

<p>The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples </a> and send us a pull request.</p>

<table>
<tbody>
Expand Down
1 change: 0 additions & 1 deletion files/zh-cn/web/html/element/table/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

<div>{{EmbedInteractiveExample("pages/tabbed/table.html","tabbed-standard")}}</div>

<p>The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples </a> and send us a pull request.</p>

<table class="properties">
<tbody>
Expand Down
1 change: 0 additions & 1 deletion files/zh-cn/web/html/element/td/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

<div>{{EmbedInteractiveExample("pages/tabbed/td.html","tabbed-taller")}}</div>

<p>The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples </a> and send us a pull request.</p>

<table class="properties">
<tbody>
Expand Down
1 change: 0 additions & 1 deletion files/zh-cn/web/html/global_attributes/class/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

<div>{{EmbedInteractiveExample("pages/tabbed/attribute-class.html","tabbed-standard")}}</div>

<p> </p>

<p>尽管对 class 的命名没有要求,但 web 开发者最好使用可以表达元素语义目的的名称,而不是描述元素展现的名称(即使一个元素是斜体,但是 class 的命名也不应该是 italics)。<strong>语义化</strong>命名即使在页面展现发生改变时仍能合乎逻辑。</p>

Expand Down
1 change: 0 additions & 1 deletion files/zh-cn/web/html/global_attributes/lang/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

<div>{{EmbedInteractiveExample("pages/tabbed/attribute-lang.html","tabbed-shorter")}}</div>

<p>The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples </a> and send us a pull request.</p>

<div class="note">
<h2 id="语言标签语法">语言标签语法</h2>
Expand Down
1 change: 0 additions & 1 deletion files/zh-cn/web/media/formats/containers/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1126,7 +1126,6 @@ <h2 id="Maximizing_compatibility_with_multiple_containers">Maximizing compatibil

<div>{{EmbedInteractiveExample("pages/tabbed/source.html", "tabbed-standard")}}</div>

<p>The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples </a> and send us a pull request.</p>

<p>The video is offered first in WebM format (with the {{htmlattrxref("type", "video")}} attribute set to <code>video/webm</code>). If the {{Glossary("user agent")}} can't play that, it moves on to the next option, whose <code>type</code> is specified as <code>video/mp4</code>. If neither of those can be played, the text "This browser does not support the HTML5 video element." is presented.</p>

Expand Down

0 comments on commit 7cc76d9

Please sign in to comment.