<! DOCTYPE html>
<meta charset= "Utf-8" >
<body>
<table border= "1" >
<caption> Entire table header </caption>
<!--Border table border--
<!--
Table Definition Tables
Caption Defining table Headings
Th definition Table Header
TR defines rows for a table
TD defines the cells of the table
Thead Defining a table header
Tbody Defining Table Bodies
Tfoot define the footer of a table
Col defines column properties for a table
-
<tr>
<!--table Head th-->
<th>1</th>
<th>2</th>
<th>3</th>
</tr>
<tr>
<td> Cell 1</td>
<td> Cell 2</td>
<td> Cell 3</td>
</tr>
<tr>
<td> Cell 1</td>
<td> Cell 2</td>
<td> Cell 3</td>
</tr>
</table>
<table border= "1" >
<tr>
<td>
Table 1
</td>
<td>
Table 2
</td>
</tr>
<tr>
<td>
<ul>
<li> Apple </li>
<li> Apple </li>
<li> Apple </li>
</ul>
</td>
<td>
I want to eat
</td>
</tr>
</table>
<table border= "1" cellpadding= "cellspacing=" background= "picture.jpg" >
<!--cellpadding cell content and border distance--
<!--distance between cellspacing cells--
<tr>
<td>444</td>
<td>444</td>
<td>444</td>
</tr>
<tr>
<td>4444</td>
<td>4444</td>
<td>4444</td>
</tr>
</table>
</body>
HTML 5 Table