html5<figure> tag


  Translation results:

figure

英[ˈfɪgə(r)] 美[ˈfɪgjər]

n.Character; number; figure; arithmetic

vi. Calculate; appear; play a role

vt. Count in; estimate; speculate; think

html5<figure> tagsyntax

Function: The <figure> tag specifies independent stream content (images, charts, photos, code, etc.).

The content of the figure element should be related to the main content, but should have no impact on document flow if removed.

Note: Please use the <figcaption> element to add a caption to the figure.

html5<figure> tagexample

<!DOCTYPE HTML>
<html>
<body>

<p></p>

<figure>
  <p>php中文网专用图</p>
  <p>制作者:php中文网</p>
  <img src="http://img.php.cn/upload/article/000/005/656/5af270fd37755429.jpg" />
</figure>

</body>
</html>
Run instance »

Click the "Run instance" button to view the online instance

Popular Recommendations

Home

Videos

Q&A