Computer Applications

What is header cell? Name the <TABLE> tag which is used as header cell.

HTML Advanced Features

1 Like

Answer

The contents declared in header cells of a table are displayed in a distinctive style, such as bold faced. The content is emphasized as a heading as compared with the contents of other cells.

The header cell is specified by using the <TH> tag inside the <TABLE> tag.

For example,

<TABLE>
<TR>
<TH>S. No.</TH>
<TH>Name</TH>
</TR>
<TR>
<TD>1</TD>
<TD>Ritu</TD>
</TR>
</TABLE>

The output is as follows:

S. No.Name
1Ritu

Answered By

1 Like


Related Questions