<table> <tr> <th>數(shù)學(xué)</th> <th>語(yǔ)文</th> </tr> <tr> <td>90</td> <td>98</td> </tr> <tr> <td>95</td> <td>94</td> </tr></table>
Is there any difference between <td> and <th> in our css table - PHP Chinese website Q&A - Is there any difference between <td> and <th> in our css table - PHP Chinese website Q&A
Come around and watch and learn.
<td>指表格中的單元格? 而<th>我們通常稱為表頭,一般用于標(biāo)題,會(huì)讓<th></th>標(biāo)簽內(nèi)的文字著重顯示!
單元格中的內(nèi)容會(huì)以瀏覽器默認(rèn)樣式顯示(不添加css樣式)
<td>表示內(nèi)容單元格 <th>則表示標(biāo)題,一般用在一列的第一格,里面的內(nèi)容會(huì)自動(dòng)加粗加黑他們