College of DuPage faculty directory

TABLES

A TABLE in HTML is used just like a table in a standard word processor. It is a group of cels, arranged into rows (items that go horizonally across the page) and columns (groups that go vertically down the page). Tables can be used to arrange textual information on the page OR to arrange text and graphics on the page. Use them for data display with or without borders; to provide side-by-side columns of text as in a spread-sheet; to layout graphics in one column and a text definition in a side-by-side column; to wrap text around a graphic; or to border a text area with graphics.
Using a table without borders to layout a page gives the designer greater control of where elements will (almost)always appear on the page.

Table Tags & Attributes

<Tags> Name Of Tag Use of the Tag
<table> Table Tag Indicates a table
<tr> Table Row Defines a table row
<th> Table Header Defines a table cell containing a heading, the end th tag is Optional
<td> Table Datum Defines a table cell containing data, the end td tag is Optional
<caption> Caption Tag Creates an optional caption for the table
Attributes Where used Use of Tag
border <table> Displays the table with a border, a value applied to the border is the width of that border
align <caption> <tr> <th> or <td> Used to align

Source of this table is http://students.assumption.edu:80/users/jandolin/tables.html

home_mbl.gif (1102 bytes)                     Return to Creative Web Page
Table source is: College of DuPage Faculty Directory standardized format.