Table part 1

HTML Fundamentals
HTML Basics
Tables
75
1/4
               

Creating a Table



Tables are defined by using the <table> tag. 
Tables are divided into table rows with the <tr> tag.
Table rows are divided into table columns (table data) with the <td> tag.

Here is an example of a table with one rowand three columns:<table>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
</table>

Table data tags <td> act as data containers within the table.
They can contain all sorts of HTML elements, such as text, images, lists, other tables, and so on.

Comments