HTML
标签 align属性标签 align属性设置表格名称的对齐方式。THTML5已不支持,请使用 CSS 替代。案例
本案例设置表格名称的左右上下的四种对齐方式
align="left"
教程 | 学习天数 |
align="right"
教程 | 学习天数 |
align="top"
教程 | 学习天数 |
align="bottom"
教程 | 学习天数 |
支持浏览器
Chrome 只支持"top", 和 "bottom" 值。
Safari 只支持 "top", 和 "bottom" 值。
Firefox 支持 "left", "right", "top", 和 "bottom" 值。
Opera 支持 "left", "right", "top", 和 "bottom" 值。
Internet Explorer 8 支持 "left", "right", "top", 和 "bottom" 值。
Internet 只Explorer 9+ 支持 "top", 和 "bottom" 值。
语法
align属性值值描述CSS语法left标题在表格的左边。
right标题在表格的右边。
top标题在表格的上边。(默认值)
bottom标题在表格的下边。