September 2007
Intermediate to advanced
600 pages
20h 21m
English
Probably the layout feature most frequently used (and most useful) is tables. HTML tables enable you to create grids that can contain text, graphics, and more. Tables are used to facilitate a more controlled page layout, including placing content side by side, in columns, and wrapped around images.
Creating tables involves three sets of tags:
<table> and </table>— Used to create the table
<tr> and </tr>— Used to create rows in the table
<td> and </td>— Used to insert cells within a table row (<th> and </th> also can be used for header cells—essentially data cells formatted a little differently, usually centered and in bold)
So, a simple table with a header row, two columns, and three rows of data (as seen in Figure ...
Read now
Unlock full access