diff --git a/files/zh-cn/web/html/element/caption/index.html b/files/zh-cn/web/html/element/caption/index.html index 59b708e676d032..6afd8cad316be8 100644 --- a/files/zh-cn/web/html/element/caption/index.html +++ b/files/zh-cn/web/html/element/caption/index.html @@ -37,7 +37,7 @@

特性

本元素包含了所有 全局特性

-
{{htmlattrdef("align")}} {{deprecatedGeneric('inline','HTML4.01')}} {{obsoleteGeneric('inline','HTML5')}}
+
{{htmlattrdef("align")}} {{Deprecated_inline}}
这个可枚举属性表明了 caption 相对于 table 应该如何排列。它可能有以下几个值: -
使用说明:不要使用这个属性,它已经被弃用: {{HTMLElement("caption")}} 元素应该使用 CSS设置样式。要得到类似align属性的效果,使用 CSS 属性 {{cssxref("caption-side")}} 和 {{cssxref("text-align")}}.
+
使用说明:不要使用这个属性,它已经被弃用:{{HTMLElement("caption")}} 元素应该使用 CSS设置样式。要得到类似align属性的效果,使用 CSS 属性 {{cssxref("caption-side")}} 和 {{cssxref("text-align")}}.
diff --git a/files/zh-cn/web/html/element/tr/index.html b/files/zh-cn/web/html/element/tr/index.html index 0b861732ce7287..e6f9dc82529aef 100644 --- a/files/zh-cn/web/html/element/tr/index.html +++ b/files/zh-cn/web/html/element/tr/index.html @@ -39,7 +39,7 @@

Attributes

表格标签支持 全局特性。还有一些过期的特性,你应该避免使用它们,但是可以了解它们,会在你阅读旧代码的时候有所帮助。

-
{{htmlattrdef("align")}} {{deprecatedGeneric("inline","html4.01")}}, {{obsoleteGeneric("inline","html5")}}
+
{{htmlattrdef("align")}} {{Deprecated_inline}}
该枚举属性指定每个单元格中内容的水平对齐方式,可使用的属性值如下:
-
{{htmlattrdef("bgcolor")}} {{deprecatedGeneric("inline","html4.01")}}, {{obsoleteGeneric("inline","html5")}}
+
{{htmlattrdef("bgcolor")}} {{Deprecated_inline}}
This attribute defines the background color of each cell of the row. It can be either an hexadecimal #RRGGBB or #RGB value or a color keyword.
Usage note: the {{HTMLElement("tr")}} element should be styled using CSS. To give a similar effect to the bgcolor attribute, use the CSS property {{cssxref("background-color")}}.
-
{{htmlattrdef("char")}} {{deprecatedGeneric("inline","html4.01")}}, {{obsoleteGeneric("inline","html5")}}
+
{{htmlattrdef("char")}} {{Deprecated_inline}}
This attribute is used to set the character to align the cells in a column on. Typical values for this include a period (.) when attempting to align numbers or monetary values. If {{htmlattrxref("align", "tr")}} is not set to char, this attribute is ignored.
Note: Do not use this attribute as it is obsolete (and not supported) in the latest standard. To achieve the same effect as the {{htmlattrxref("char", "tr")}}, in CSS3, you can use the character set using the {{htmlattrxref("char", "tr")}} attribute as the value of the {{cssxref("text-align")}} property {{unimplemented_inline}}.
-
{{htmlattrdef("charoff")}} {{deprecatedGeneric("inline","html4.01")}}, {{obsoleteGeneric("inline","html5")}}
+
{{htmlattrdef("charoff")}} {{Deprecated_inline}}
This attribute is used to indicate the number of characters to offset the column data from the alignment characters specified by the char attribute.
Note: Do not use this attribute as it is obsolete (and not supported) in the latest standard.
-
{{htmlattrdef("valign")}} {{deprecatedGeneric("inline","html4.01")}}, {{obsoleteGeneric("inline","html5")}}
+
{{htmlattrdef("valign")}} {{Deprecated_inline}}
This attribute specifies the vertical alignment of the text within each row of cells of the table header. Possible values for this attribute are: