From 01b845e6d402777fe03cc4dd7ed5f21af400eed1 Mon Sep 17 00:00:00 2001 From: Jason Lee Date: Tue, 4 Jan 2022 17:38:26 +0800 Subject: Improve copywriting for add spaces between Chinese and English words for files/zh-cn/web/html/element. --- files/zh-cn/web/html/element/caption/index.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'files/zh-cn/web/html/element/caption/index.html') diff --git a/files/zh-cn/web/html/element/caption/index.html b/files/zh-cn/web/html/element/caption/index.html index 6afe7d92c3..3482c5b47a 100644 --- a/files/zh-cn/web/html/element/caption/index.html +++ b/files/zh-cn/web/html/element/caption/index.html @@ -5,7 +5,7 @@ translation_of: Web/HTML/Element/caption ---

简介

-

HTML <caption> 元素 (or HTML 表格标题元素) 展示一个表格的标题, 它常常作为 {{HTMLElement("table")}} 的第一个子元素出现,同时显示在表格内容的最前面,但是,它同样可以被CSS样式化,所以,它同样可以出现在任何一个一个相对于表格的做任意位置。

+

HTML <caption> 元素 (or HTML 表格标题元素) 展示一个表格的标题, 它常常作为 {{HTMLElement("table")}} 的第一个子元素出现,同时显示在表格内容的最前面,但是,它同样可以被 CSS 样式化,所以,它同样可以出现在任何一个一个相对于表格的做任意位置。

@@ -38,7 +38,7 @@ translation_of: Web/HTML/Element/caption
{{htmlattrdef("align")}} {{deprecatedGeneric('inline','HTML4.01')}} {{obsoleteGeneric('inline','HTML5')}}
-
这个可枚举属性表明了caption相对于table应该如何排列。它可能有以下几个值: +
这个可枚举属性表明了 caption 相对于 table 应该如何排列。它可能有以下几个值:
  • left, 展示在表格左边
  • top, 显示在表格前面
  • @@ -52,7 +52,7 @@ translation_of: Web/HTML/Element/caption

    使用说明

    -

    当 {{HTMLElement("table")}} 元素是{{HTMLElement("caption")}} 的父元素,caption是{{HTMLElement("figure")}} 元素的唯一后代的时候,使用{{HTMLElement("figcaption")}}元素替代caption元素

    +

    当 {{HTMLElement("table")}} 元素是{{HTMLElement("caption")}} 的父元素,caption 是{{HTMLElement("figure")}} 元素的唯一后代的时候,使用{{HTMLElement("figcaption")}}元素替代 caption 元素

    实例

    @@ -140,8 +140,8 @@ translation_of: Web/HTML/Element/caption

    See also

      -
    • 其他与table相关的HTML元素: {{HTMLElement("col")}}, {{HTMLElement("colgroup")}}, {{HTMLElement("table")}}, {{HTMLElement("tbody")}}, {{HTMLElement("td")}}, {{HTMLElement("tfoot")}}, {{HTMLElement("th")}}, {{HTMLElement("thead")}}, {{HTMLElement("tr")}};
    • -
    • 可能对{{HTMLElement("caption")}} 元素有用的CSS属性: +
    • 其他与 table 相关的 HTML 元素: {{HTMLElement("col")}}, {{HTMLElement("colgroup")}}, {{HTMLElement("table")}}, {{HTMLElement("tbody")}}, {{HTMLElement("td")}}, {{HTMLElement("tfoot")}}, {{HTMLElement("th")}}, {{HTMLElement("thead")}}, {{HTMLElement("tr")}};
    • +
    • 可能对{{HTMLElement("caption")}} 元素有用的 CSS 属性:
      • {{cssxref("text-align")}}, {{cssxref("caption-side")}}.
      -- cgit v1.2.3-54-g00ecf