英[?k?p?n]? ?美[?k?p??n]??
n.字幕;標(biāo)題,說(shuō)明文字,字幕;第三檔
vt.給(圖片、照片等)加說(shuō)明文字;在(文件等)上加標(biāo)題;在…上加字幕
第三人稱單數(shù): captions 複數(shù): captions 現(xiàn)在分詞: captioning 過(guò)去式: captioned 過(guò)去分詞: captioned
html caption標(biāo)籤 語(yǔ)法
caption是什麼標(biāo)籤?
作用:定義表格標(biāo)題。
說(shuō)明:caption 標(biāo)籤必須緊跟 table 標(biāo)籤之後。您只能對(duì)每個(gè)表格定義一個(gè)標(biāo)題。通常這個(gè)標(biāo)題會(huì)被居中於表格之上。
註解:在 HTML 4.01 中,caption 元素的 align 屬性是不被贊成使用的。在 XHTML 1.0 Strict DTD 中,caption 元素的 align 屬性是不被支援的。
html caption標(biāo)籤 範(fàn)例
<html> <body> <h4>這個(gè)表格有一個(gè)標(biāo)題,以及粗邊框:</h4> <table border="6"> <caption>我的標(biāo)題</caption> <tr> <td>100</td> <td>200</td> <td>300</td> </tr> <tr> <td>400</td> <td>500</td> <td>600</td> </tr> </table> </body>
執(zhí)行實(shí)例 ?
點(diǎn)擊 "執(zhí)行實(shí)例" 按鈕查看線上實(shí)例