HTML table tag

We can create a table in html by using <htmt></htmt> tag.
with in table tag we use <tr> to create new table row.
inside tr we use <td> tag to specify data value.

One table can contain multiple table rows and each row can contain multiple table data.

Syntax

Example:

Output:

1 Manish Durg India
2 Manoj Bhopal India

For providing data heading we use <th> tag

Example:

Output:

Sr No Name Address
1 Manish Durg India
2 Manoj Bhopal India