abbr.Chad 查德;Tank Destroyer 戰(zhàn)車殲擊手
html td標(biāo)籤 語法
作用:定義 HTML 表格中的標(biāo)準(zhǔn)儲存格。
說明:HTML 表格有兩類單元格:表頭單元- 包含頭部資訊(由th 元素建立)標(biāo)準(zhǔn)單元- 包含資料(由td 元素建立)td 元素中的文字一般顯示為正常字體且左對齊。
註解:請使用 colspan 和 rowspan 屬性來實(shí)作內(nèi)容橫跨多個(gè)行或列。
html td標(biāo)籤 範(fàn)例
<html> <body> <table border="1"> <tr> <th>Month</th> <th>Savings</th> </tr> <tr> <td>January</td> <td>0</td> </tr> </table> </body> </html>
運(yùn)行實(shí)例?
點(diǎn)擊"運(yùn)行實(shí)例"按鈕查看線上實(shí)例
<html> <body> <table border="1"> <tr> <th>name</th> <th>job</th> </tr> <tr> <td>滅絕師太</td> <td>PHP中文網(wǎng)高級講師</td> </tr> <tr> <td>歐陽克</td> <td>PHP中文網(wǎng)講師</td> </tr> <tr> <td>韋小寶</td> <td>PHP中文網(wǎng)初級講師</td> </tr> </table> </body> </html>
運(yùn)行實(shí)例?
點(diǎn)擊"運(yùn)行實(shí)例" 按鈕查看線上實(shí)例