| ★ wanayoo — archive 1999 http://webtools.com/story/html/TLS19981111S0002 | Nouvelle recherche | Portail wanayoo |
![]() |
![]() |
Free E-mail
|
![]() |
|
||||||||||||||
![]() ![]() |
||||||||||||||
By Bruce Stewart, WebTools (11/12/98) Introduction To Tables Tables are one of the most common and useful constructs used in Web design. Since early versions of HTML had few page-layout controls, tables emerged as a popular way to exert some control over how objects were displayed in the browser window. Although originally intended as a mechanism for displaying tabular data, tables are commonly used to achieve other typographical effects, such as establishing margins or creating multiple columns of text.
While CSS
Definition Of HTML tables
The table tags let designers specify rows, columns, and cells of tables, as well as specify headers, control how or if borders are displayed, and group columns together. It's fairly straightforward to use these tags to display tabular data, such as spreadsheets, in Web pages.
Main Uses Of Tables
By creatively using tables -- usually not including borders and sometimes nesting tables within other tables -- a variety of interesting effects can be achieved. A common way to have a page display with margins is to create a three-column borderless table with a width of 100 percent, and put the text in the middle column, using the empty first and third columns as margin space. This gives the designer a mechanism to define exact margin sizes, by specifying the width of the margin columns in pixels. Another common use for tables is in the laying out of images alongside text. This is how newsletter and magazine columns and photos are achieved on the Web -- with the text laid out in one table cell and the photos and captions placed in another. Next, we'll look at the HTML tags used to create tables.
Bruce Stewart is a telecommunications consultant and technical writer. His articles have appeared on The Site, Web Review, and ZDNet.
[HTML Table Tags>>>]
Page 1 of 3 |
||||||||||||||
| ||||||||||||||
| |||||
![]() |
|