Friday, 7 November 2014

Creating a table in HTML

<html>
<head>
<title>Table</title>
</head>
<body>
<table border="1">
<caption>Invoice</caption>
<tr>
<th>Sno</th>
<th>Item</th>
<th>Price</th>
</tr>
<tr>
<td>1</td>
<td>Apple</td>
<td>Rs. 20</td>
</tr>
<tr>
<td>2</td>
<td>Mango</td>
<td>Rs. 15</td>
</tr>
<tr>
<td>3</td>
<td>Banana</td>
<td>Rs. 3</td>
</tr>
</table>
</body>
</html>

for more http://www.makeitsimple.co.in/HTML_table.php

No comments:

Post a Comment