In this section, you will see the use of figure and figcapation tag of HTML5. Both are new. The figure tag is used to show flow content and figcaption tag represent caption of element. The flow content are elements, that are used in body tag. You can remove figure tag. It can not affect document actual meaning. It works as a single unit. the figcaption is an optional.
Declaration syntax of figure and figcapation in HTML5.
flow controls</figure >
<!DOCTYPE html >|
<title>Figure tag og HTML5.</title>
<h1>Implementation of figure and figcapation tag.</h1>
<figcaption>This picture represents a computer image.</figcaption>
The fieldset tag is available in both HTML5 and HTML4.01. But there is some attribute in HTML5, that is not supported by HTML4.01.
Recommend the tutorial