diff options
Diffstat (limited to 'files/zh-cn/web/html/element/mark/index.html')
| -rw-r--r-- | files/zh-cn/web/html/element/mark/index.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/files/zh-cn/web/html/element/mark/index.html b/files/zh-cn/web/html/element/mark/index.html index 89ec1eea7a..8857d8cc3c 100644 --- a/files/zh-cn/web/html/element/mark/index.html +++ b/files/zh-cn/web/html/element/mark/index.html @@ -5,15 +5,15 @@ translation_of: Web/HTML/Element/mark --- <h2 id="概要">概要</h2> -<p>HTML标记文本元素(< Mark >)表示为引用或符号目的而标记或突出显示的文本,这是由于标记的段落在封闭上下文中的相关性或重要性造成的。</p> +<p>HTML 标记文本元素 (< Mark >) 表示为引用或符号目的而标记或突出显示的文本,这是由于标记的段落在封闭上下文中的相关性或重要性造成的。</p> -<p>这个<em> HTML mark </em>标签代表突出显示的文字,例如可以为了<strong>标记</strong>特定上下文中的文本而使用这个标签<strong><font color="#252525" face="Microsoft YaHei"><span style="font-size: 12px; line-height: 19.2000007629395px;">.</span></font></strong> 举个例子,它可以用来显示搜索引擎搜索后关键词</p> +<p>这个<em> HTML mark </em>标签代表突出显示的文字,例如可以为了<strong>标记</strong>特定上下文中的文本而使用这个标签<strong><font color="#252525" face="Microsoft YaHei"><span style="font-size: 12px; line-height: 19.2000007629395px;">.</span></font></strong> 举个例子,它可以用来显示搜索引擎搜索后关键词</p> <ul class="htmlelt"> <li><dfn>内容分类</dfn> <a href="/en-US/docs/HTML/Content_categories#Flow_content" title="HTML/Content categories#Flow content">Flow content</a>, <a href="/en-US/docs/HTML/Content_categories#Phrasing_content" title="HTML/Content categories#Phrasing content">phrasing content</a>, palpable content.</li> <li><dfn>允许的内容</dfn> <a href="/en-US/docs/HTML/Content_categories#Phrasing_content" title="HTML/Content_categories#Phrasing_content">Phrasing content</a>.</li> <li><dfn>标签省略</dfn> {{no_tag_omission}}</li> - <li><dfn>允许的父元素</dfn>任何接受<a href="/en-US/docs/HTML/Content_categories#Phrasing_content" title="HTML/Content_categories#Phrasing_content">phrasing content</a> 的元素.</li> + <li><dfn>允许的父元素</dfn>任何接受<a href="/en-US/docs/HTML/Content_categories#Phrasing_content" title="HTML/Content_categories#Phrasing_content">phrasing content</a> 的元素。</li> <li><dfn>DOM 接口</dfn> {{domxref("HTMLElement")}}</li> </ul> @@ -29,11 +29,11 @@ translation_of: Web/HTML/Element/mark <ul> <li>当用在引用({{HTMLElement("q")}}、{{HTMLElement("blockquote")}})中时,通常用来显示有特殊意义的文本,但不在原材料中标记出来;或者是用来显示特殊审查的材料,即使原作者不认为它特别重要。</li> <li>另外,<mark>元素还用来显示与用户当前活动相关的一部分文档内容。例如,它可能被用于显示匹配搜索结果中的单词。</li> - <li>不要为了语法高亮而用 <code><mark></code> 元素; 你应该用 <em>{{HTMLElement("strong")}}</em> 元素结合适当的CSS来实现这个目的(语法高亮)。</li> + <li>不要为了语法高亮而用 <code><mark></code> 元素; 你应该用 <em>{{HTMLElement("strong")}}</em> 元素结合适当的 CSS 来实现这个目的(语法高亮)。</li> </ul> <div class="blockIndicator note"> -<p>不要把 <code><mark></code> 元素和 {{HTMLElement("strong")}} 元素搞混淆;{{HTMLElement("strong")}} 元素用来表示文本在上下文的重要性的, 而 <code><mark></code> 元素是用来表示上下文的关联性的.</p> +<p>不要把 <code><mark></code> 元素和 {{HTMLElement("strong")}} 元素搞混淆;{{HTMLElement("strong")}} 元素用来表示文本在上下文的重要性的, 而 <code><mark></code> 元素是用来表示上下文的关联性的。</p> </div> <h2 id="例子">例子</h2> |
