Add HTML : Insert table
Here's how you can insert the table on your webpage.
Each table starts with a "table" tag. Each table row starts with a "tr" tag and each table column and data starts with a "td" tag.
Examples:
One column:
Code:
<table border="1">
<tr>
<td>name1</td>
</tr>
</table> |
|
Sample:
One row and three columns:
Code:
<table border="1">
<tr>
<td>name1</td>
<td>name2</td>
<td>name3</td>
</tr>
</table> |
|
Sample:
Two rows and three columns:
Code:
<table border="1">
<tr>
<td>name1</td>
<td>name2</td>
<td>name3</td>
</tr>
<tr>
<td>name4</td>
<td>name5</td>
<td>name6</td>
</tr>
</table> |
|
Sample:
name1 |
name2 |
name3 |
name4 |
name5 |
name6 |
|