Computer Applications
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 |
|---|---|
| 1 | Ritu |
Related Questions
Which tag(s) do we use to change the size and style (face) of the text of an HTML file viewed on a web browser? Also, explain any two attributes used with this tag.
Write the advantages of external style sheet.
Explain any two controls supported by HTML form.
Explain the three laws that are formulated to stop software piracy.