Jump to content

What is <th> for?


jordanwb

Recommended Posts

Use it in place of <td > for the top row of cells in a table, when that top row holds the column headers for the table.

 

Actually, if it's a long table, and you have the headers repeated somewhere in the middle of the table, I suppose you could use it there too (though I'm not 100% sure of that).

 

Here's a reference: http://www.devguru.com/technologies/xhtml/7839.asp

Link to comment
https://forums.phpfreaks.com/topic/123534-what-is-for/#findComment-638030
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.