No — talking about how many pixels of space to use is not at all a functional description.
The latest Web standards make a clean split between function and format. You are supposed to use XHTML for functional descriptions (only) of Web page elements and to use Cascading Style Sheets for stylistic (fomatting) descriptions. But this idea is weakly and unevenly supported so for now try to use HTML formatting sparingly. Here is a simple table:
William I | 1066-1087 |
William II | 1087-1100 |
Henry I | 1100-1135 |
Stephen | 1135-1154 |
It is created with the following HTML:
<table border="border"> <tr> <td>William I </td> <td>1066-1087</td> </tr> <tr> <td>William II</td> <td>1087-1100</td> </tr> <tr> <td>Henry I </td> <td>1100-1135</td> </tr> <tr> <td>Stephen </td> <td>1135-1154</td> </tr> </table>
A table has one or more rows. Each row contains one or more table data items or table heading items. Usually there is an equal number of items in each row (there are ways around this limitation.)
<table>
and </table>
.border="border"
attribute.<tr>
and </tr>
.<tr>
tags are one or more table data items.<td>
and </td>
.<th>
and </th>
.Will the following HTML correctly produce the above table?
<table border="border"> <tr> <td>William I</td> <td>1066-1087</td> </tr> <tr> <td>William II</td> <td>1087-1100</td> </tr> <tr> <td>Henry I </td> <td>1100-1135</td> </tr> <tr> <td>Stephen </td> <td>1135-1154</td> </tr> </table>