允许的父元素,,or允许的ARIA角色| 任意 | DOM接口| HTMLTableRowElement | 属性表格标签支持全局特性。还有一些过期的特性,你应该避免使用它们,但是可以了解它们,会在你阅读旧代码的时候有所帮助。 - charTHML5中废弃,THML5中废弃
- 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.Ifalignis not set tochar, this attribute is ignored.THML5中废弃。此功能已过时。尽量避免使用它。
- valignTHML5中废弃,THML5中废弃
- This attribute specifies the vertical alignment of the text within each row of cells of the table header. Possible values for this attribute are:
- baseline, which will put the text as close to the bottom of the cell as it is possible, but align it on thebaselineof the characters instead of the bottom of them. If characters are all of the size, this has the same effect asbottom.
- bottom, which will put the text as close to the bottom of the cell as it is possible;
- middle, which will center the text in the cell;
- andtop, which will put the text as close to the top of the cell as it is possible.
Note:Do not use this attribute as it is obsolete(and not supported)in the latest standard: instead set the CSSvertical-alignproperty on it.
定义和用法 |