New course! Every coder should learn Generative AI!
Try a free lesson+ 6
It just helps with readability, if I remember correctly <th> describes the header for a table and exists in <thead>, when <td> describes the table data, and exists in <tbody>
They're easier to be styled and distinguished in css