are all obsolete in html5. Now all styles for the table and its elements should be done in an attached CSS.
Cell Borders
border-collapse: specifies whether the cells have their own border or will share a border with another cell.
CSS property - border-collapse
border-collapse: collapse; -The cells share a border border-collapse: separate; - The cells have a separate border border-collapse: inherit; - Same value as the element's parent.
Examples -Border Collapse
Both of the following tables have css properties for a cell, td and a table
EXAMPLE ONE
also has table{
border-collapse: collapse;}
Trees
Shrubs
Ash
Roses
Oak
Camellia
EXAMPLE TWO
also has table{
border-collapse: separate;}
Trees
Shrubs
Ash
Roses
Oak
Camellia
Align
You can no longer include the valign in the cell code but CSS has a vertical-align property which has a number of values but its probably best it you just stick to
:
top, middle or bottom
In order for it to work in the <td> tag you need to make sure that the