Mubashar
Mujahid
66
Superior University
Depalpur
62
The HTML tables allow web authors to
arrange data like text, images, links,
other tables, etc. into rows and columns
of cells.
The HTML tables are created using the
<table> tag
In which tags are used
<th> tag
<tr> tag
<td> tag
Table heading can be defined using <th>
tag. This tag will be put to replace <td>
tag, which is used to represent actual
data cell. Normally you will put your
top row as table heading as shown
below.
Roll no Name Class Marks
<tr> tag:-
<tr> tag is used to create table rows
<td> tag:-
<td> tag is used to create data cells.
Roll no Name Class Marks
01
02
03
04 Mujahid Ics 740
05
06
Table data Table row
Table
Heading
HTML Table

HTML Table

  • 2.
  • 5.
    The HTML tablesallow web authors to arrange data like text, images, links, other tables, etc. into rows and columns of cells.
  • 6.
    The HTML tablesare created using the <table> tag In which tags are used <th> tag <tr> tag <td> tag
  • 7.
    Table heading canbe defined using <th> tag. This tag will be put to replace <td> tag, which is used to represent actual data cell. Normally you will put your top row as table heading as shown below.
  • 8.
    Roll no NameClass Marks
  • 9.
    <tr> tag:- <tr> tagis used to create table rows <td> tag:- <td> tag is used to create data cells.
  • 10.
    Roll no NameClass Marks 01 02 03 04 Mujahid Ics 740 05 06 Table data Table row Table Heading