logo
g Text Version
Auto
Beauty & Self
Books & Music
Career
Computers
Education
Family
Food & Wine
Health & Fitness
Hobbies & Crafts
Home & Garden
Money
News & Politics
Relationships
Religion & Spirituality
Society & Culture
Sports
Travel & Leisure
TV & Movies

dailyclick
Bored? Games!
Postcards
Astrology
Take a Quiz
Rate My Photo

new
English Garden
Costuming
Charity
Women's Fashion
Pop Music


dailyclick
All times in EST

Low Carb: 8:00 PM

Full Schedule
g
g HTML Site
Elizabeth Connick
BellaOnline's HTML Editor

g

The HTML Table
Guest Author - Diane Cipollo

The HTML table was originally added to the HTML language to allow for the formatting of columns and rows of information such as you see in a spreadsheet or account ledger. However, it wasn't long before web designers discovered another use for the HTML table. These web designers began using HTML tables to control the layout and design of a webpage.

shadowbox

You can think of an HTML table like a curio cabinet hanging on the wall which has rows of boxes to put little collectibles into. But instead of little collectibles, you will put parts of your webpage into each square. In this way you can force the placement of text and images as you design your page to be pleasing and easy to read.A table is created with a combination of three HTML tags working together. Let's start out with a simple table. It will have 3 rows and 1 box in each row. Here is the basic code.

<table>
<tr><td>
row 1, box 1
</td></tr>
<tr><td>
row 2, box 1
</td></tr>
<tr><td>
row 3, box 1
</td></tr>
</table>
shadowbox
<table></table>The opening <table> and closing </table> table tags establish the outside wall of the table. (Brown colored square)
<tr></tr> Next the three sets of opening <tr> and closing </tr> table row tags establish the walls for the three rows inside the table walls. (Red colored squares)
<td></td> Finally the opening <td> and closing </td> table cell tags establish the walls for the box (called a cell) within each row. (Green colored squares)


Now that we have created the table you will want to have more control over this table besides just the walls. We need to discuss the attribute/value pairs for each of these 3 HTML tags. You will use these attribute/value pairs to control more features of the table. We cannot cover all of the attribute/value pairs in this HTML Basics tutorial, but we will discuss the ones used most often.

Next →

|



RSS | Previous Features | Site Map


Content copyright © 2008 by Diane Cipollo. All rights reserved.
This content was written by Diane Cipollo. If you wish to use this content in any manner, you need written permission. Contact Elizabeth Connick for details.

Digg! g delicious Save to Del.icio.us

g


For FREE email updates, subscribe to the HTML Newsletter


Past Issues


print
Printer Friendly
bookmark
Bookmark
tell friend
Tell a Friend
forum
Forum
email
Email Editor

g features
How to Add Special Characters to Your Website

Getting Paid for Ads on Your Site

How to Post a Caption for Your Images

Archives | Site Map

forum
Forum
email
Contact

Past Issues
memberscenter


vote
Driving Amount
Much more
Slightly more
Slightly less
Much less

g


| About BellaOnline | Privacy Policy | Advertising | Become an Editor |
Website copyright © 2008 Minerva WebWorks LLC. All rights reserved.


BellaOnline Editor