COMPUTER LECTURES

HOME About us HTML ONLINE CODE EDITOR CONTACT US
HTML | TABLE

SYNTAX

OPENING TAG CLOSING TAG
<table> </table>

Example : table.html

<!DOCTYPE html>
<html>
<head>
<title>Computer lectures | Table</title>
</head>
<body>
<center> <h4> TABLE </h4> </center>
<table border="1">
<tr>
<th>Computer lectures | Column 1 </th>
<th>Computer lectures | Column 2 </th>
<th>Computer lectures | Column 3 </th>
<th>Computer lectures | Column 4 </th>
</tr>
<tr>
<td>Computer lectures | Row 1</td>
<td>Computer lectures | Row 1</td>
<td>Computer lectures | Row 1</td>
<td>Computer lectures | Row 1</td>
</tr>
<tr>
<td>Computer lectures | Row 2</td>
<td>Computer lectures | Row 2</td>
<td>Computer lectures | Row 2</td>
<td>Computer lectures | Row 2</td>
</tr>
<tr>
<td>Computer lectures | Row 3</td>
<td>Computer lectures | Row 3</td>
<td>Computer lectures | Row 3</td>
<td>Computer lectures | Row 3</td>
</tr>
<tr>
<td>Computer lectures | Row 4</td>
<td>Computer lectures | Row 4</td>
<td>Computer lectures | Row 4</td>
<td>Computer lectures | Row 4</td>
</tr>
</table>
</body >
</html >

The output on the web broswer

Table