W3C DOM tests - Miscellaneous table properties

This table is element x.

This is the caption
th in thead td in thead td in thead
th in tfoot td in tfoot td in tfoot
th in tbody td in tbody td in tbody
td in tbody td in tbody td in tbody
td in tbody td in tbody td in tbody

This page tests a few basic HTML DOM properties.

Test scripts

cellPadding

x.cellPadding = 10;

cellSpacing

x.cellSpacing = 10;

frame

x.frame = 'void';
x.frame = 'above';
x.frame = 'below';
x.frame = 'hsides';
x.frame = 'vsides';
x.frame = 'lhs';
x.frame = 'rhs';
x.frame = 'box';
x.frame = 'border';

rules

x.rules = 'none';
x.rules = 'groups';
x.rules = 'rows';
x.rules = 'cols';
x.rules = 'all';