| Tables: tables can be used just
like in Word to show tabular data, but
they are also an essentil formatting tool for web pages. If you open
any of the pages of this tutorial in a browser, and resize the browser
window, the text will automatically rearrange to fit the width of the
window. This makes sense in most cases, because the browser-window on your
screen is the 'final output format' of most web pages. In other words,
normally there is no such thing as page-formatting in HTML. |
(hello, I am another column!)
|
| The scientists who invented HTML
didn't care, nor do the geeks who maintain the HTML standards. But alot
of people do care about
controlling column width, and having multiple columns of text and
images on each page (for example, see the BBC's news page).
So they place paragraphs of text and images into the cells of tables
and specify the width and internal margins of each cell of the table.
To see how it was done for these paragraphs, review the source code, or
try it yourself under Composer. The markup terminology is clumsy; each
new row begins <tr> for 'table return' and each new cell begins
with <td> for 'table data'. To keep your sanity, just edit tables
graphically in Composer. |
|