英[?te?bl]? ?美[?teb?l]??
n.桌子;表,目錄;手術(shù)臺,工作臺,遊戲臺;平地層
vt.製表;擱置;嵌合;擱置
adj.桌子的
第三人稱單數(shù): tables 複數(shù): tables 現(xiàn)在分詞: tabling 過去式: tabled
html table標籤 語法
作用:定義 HTML 表格。
說明:簡單的 HTML 表格由 table 元素以及一個或多個 tr、th 或 td 元素組成。 tr 元素定義表格行,th 元素定義表頭,td 元素定義表格單元。更複雜的 HTML 表格也可能包括 caption、col、colgroup、thead、tfoot 以及 tbody 元素。
註解:在 HTML 4.01 中,table 元素的 "align" 和 "bgcolor" 屬性是不被贊成使用的。在 XHTML 1.0 Strict DTD,table 元素的 "align" 和 "bgcolor" 屬性是不被支援的。
html table標籤 範例
<html> <body> <table border="1"> <tr> <th>Month</th> <th>Savings</th> </tr> <tr> <td>January</td> <td>0</td> </tr> </table> </body> </html>
運行實例?
點擊"運行實例"按鈕查看線上實例
<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>
運行實例?
點擊"運行實例" 按鈕查看線上實例