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 ❌
- Chrome Android ❌
- Edge ❌
- Firefox ❌ See bugzil.la/2212
- Firefox for Android ❌ See bugzil.la/2212
- Safari ❌
- Safari on iOS ❌
View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist