Programs in HTML

4. Program to create a Table.
<html>
<head>
<title>Table</title>
</head>
<body>
<table border="1" width="200" height="200">
<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>
Output :

Invoice
Sno Item Price
1 Apple Rs. 20
2 Mango Rs. 15
3 Banana Rs. 3




Father of HTML and World Wide Web

Tim Berners Lee

Tim Berners Lee

Born: June 8, 1955, London