Table styling
This feature is discouraged. For the rationale, see:
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. These are obsolete, and some of them have no effect. Use CSS instead.
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 1 Released on 2008-12-11
- Chrome Android 18 Released on 2012-06-27
- Edge 12 Released on 2015-07-29
- Firefox ❌ See bugzil.la/2212
- Firefox for Android ❌ See bugzil.la/2212
- Safari ≤4 Released before 2009-06-08
- Safari on iOS ≤3.2 Released before 2010-04-03
Baseline availability blocked since July 2015 by Firefox (120 months)
View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist