Tables in HTML

Tables in HTML

Table:-

A table is a structured set of data stored in tables and rows. the table allows us to look up the values that indicate some kind of connection between different types of data.

Example Screenshot_20221112_173237.png

1 All table content should be enclosed in <table></table> tag

2 For making rows in the table <tr></tr> tag can be used.

3 Table row is a required heading for that purpose we can use <th></th> tag(table heading).

4 Smallest container of the table is called a cell which is created by <td></td> tag (table data).

5 If we want to multiply these cells 5 times, copy <td></td> tag 4 more times.

6 To stop this row from growing used the </tr> tag.