+ 3
<td> and <th> emelents
Is it possible to use 'th' elements instead of 'td' elements? If you wish to change text of a cell into bold, would it be a good idea to use the <th> element, or something else? Is it possible to use the 'th' element for every text in every cell in a table?
1 ответ
+ 3
The th is used for table header cells.
If you want to give style to your elements you should use CSS or style attribute. For example you can use <span> in <td>... </td>
<span style="font-weight:bold">Your bold text</span>