SQL PHP HTML ASP JavaScript articles and free scripts to download
 

Table Data

Table data tags <td> ... </td> define each cell in the table. These tags must be nested within the table row tags. Each row can have different number of cells.

Attributes of Table Data:

Align: Used to specify the horizontal alignment of the text with in the cell.

Colspan: This is used when the width of the cell has to be mentioned in number of colums and usually used when a cell occupies more than one column.

Rowspan: This is used when the height of the cell has to be mentioned in number of rows and usually used when a cell occupies more than one row.

Example:

<table border=1>
<tr>
<td>Cell 1 </td>
<td>Cell 2 </td>
</tr>
<tr>
<td>Cell 3 </td>
<td>Cell 4 </td>
</tr>
</table>

          Above code defines a table with two rows and four cells as below.

Cell 1 Cell 2
Cell 3 Cell 4

         HTML Table  | Table Row  | Table Data  | Table Heading






Join Our Email List
Email:  
For Email Newsletters you can trust
List of HTML Tutorial
<Table>
HTML Tags
HTML Calendar
Tags on web page
Web Design