html caption tag
Translation results:
English[ˈkæpʃn] US[ˈkæpʃən]
n. Subtitle; title, caption, subtitle; third file
vt. Add caption to (pictures, photos, etc.); Add a title to (a document, etc.); add a subtitle to...
Third person singular: captions Plural: captions Present participle: captioning Past tense: captioned Past participle: captioned
html caption tagsyntax
What is the label of caption?
Function: Define the table title.
Note: The caption label must follow the table label. You can define only one title per table. Usually the title will be centered above the table.
Note: In HTML 4.01, the align attribute of the caption element is deprecated. In XHTML 1.0 Strict DTD, the align attribute of the caption element is not supported.
html caption tagexample
<html> <body> <h4>这个表格有一个标题,以及粗边框:</h4> <table border="6"> <caption>我的标题</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>
Run instance »
Click the "Run instance" button to view the online instance