This is an ad.
 
Webmonkey Kids
Webmonkey Kids
Lessons
Projects
Playground
Tools

Introduction
Rows and Cells
Building Your First Table
Colspan
Rowspan
Alignment
Spacing and Padding
A Few More Tricks



Parents and Teachers:
Find out how your kids can use Webmonkey for Kids as a learning tool at home or in the classroom with our Planning Guide.

Send us feedback

Lesson A: Tables
Rows and Cells


here are three basic units in any table: the table itself, the table row, and the table cell. The tags for these are:


Table: <table>

Table row: <tr>

Table cell: <td>


Why do table cells have tags called <td> instead of <tc>? Just to make things more confusing. The tag actually stands for "table data," if you really want to know.

The thing to remember here is that a <td> is always enclosed in a <tr>, which is always enclosed in a <table>.

Enough already. Let's make one and see what this thing looks like.

Back

Next Page