Saturday, July 14, 2012

HTML: Simple Table

Using <Table> tag:

<table border="1">
<tr>
<td>row 1, cell 1</td>
<td>row 1, cell 2</td>
</tr>
<tr>
<td>row 2, cell 1</td>
<td>row 2, cell 2</td>
</tr>
</table>


Result:


row 1, cell 1 row 1, cell 2
row 2, cell 1 row 2, cell 2


Resource:
http://www.w3schools.com/html/html_tables.asp

No comments: