html figcaption 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 figcaption tagsyntax
Function: Define the title (caption) of the figure element.
Note: The "figcaption" element should be placed as the first or last child element of the "figure" element.
Note: All major browsers support the <figcaption> tag. Internet Explorer 8 and earlier does not support the <figcaption> tag.
html figcaption tagexample
<!DOCTYPE html> <html> <body> <p>ThinkPHP5快速开发企业站点</p> <figure> <img src="//m.sbmmt.com/tpl/Index/Static/img/banner3.jpg" alt="php.cn" width="304" height="228"> <figcaption>Fig.1 - ThinkPHP5快速开发企业站点</figcaption> </figure> </body> </html>
Run instance »
Click the "Run instance" button to view the online instance