Home » HTML » HTML Tables » Question
  1. For heading we can use ____________.
    1. <th>
    2. <thead>
    3. <tr>
    4. <td>
    5. None of these
Correct Option: A

<th> element is used for representing heading of column or a row. It works same as <td> element. If shell has no content we can use <th> element also there. We can use scope attribute for specifying the heading is for row or column. Usually content of <th> is represented in bold. <thead> tag contains the group of header. <tr> is used to indicate start of every row i.e. it stands for table row.



Your comments will be displayed only after manual approval.