Table styling
This feature is discouraged — Some table styling attributes have no effect. They are superseded by CSS.
For more information, see: obsolete.html (HTML spec)
Attributes and properties of table elements, such as align, vAlign, noWrap, bgcolor, or char set various visual presentation properties of the table and its sections and cells.
Status
Discouraged
MDN documentation
- HTMLTableCaptionElement: align property
- HTMLTableCellElement: align property
- HTMLTableCellElement: bgColor property
- HTMLTableCellElement: ch property
- HTMLTableCellElement: chOff property
- HTMLTableCellElement: noWrap property
- HTMLTableCellElement: vAlign property
- HTMLTableColElement: align property
- HTMLTableColElement: ch property
- HTMLTableColElement: chOff property
- HTMLTableColElement: vAlign property
- HTMLTableElement: align property
- HTMLTableElement: bgColor property
- HTMLTableElement: border property
- HTMLTableElement: cellPadding property
- HTMLTableElement: cellSpacing property
- HTMLTableElement: frame property
- HTMLTableElement: rules property
- HTMLTableElement: summary property
- HTMLTableElement: width property
- HTMLTableRowElement: align property
- HTMLTableRowElement: bgColor property
- HTMLTableRowElement: ch property
- HTMLTableRowElement: chOff property
- HTMLTableRowElement: vAlign property
- HTMLTableSectionElement: align property
- HTMLTableSectionElement: ch property
- HTMLTableSectionElement: chOff property
- HTMLTableSectionElement: vAlign property
Specifications
- HTML, from HTML Workstream (WHATWG).
Browser support
- Chrome ❌
- Chrome Android ❌
- Edge ❌
- Firefox ❌ See bugzil.la/2212
- Firefox for Android ❌ See bugzil.la/2212
- Safari ❌
- Safari on iOS ❌
Web Platform Tests (WPT)
View the latest WPT test results for this featureView as JSON | Edit this feature | Report an issue | Web-features entry: source, dist