HTML Figure Tag

HTML figure tag element has some interdependency from the flow of the document, and its position relative to the surrounding content doesn't need to be exact.

Basically, it is used to wrap images or graphics, charts, reference tables, videos, etc.

The <figcaption> element is placed inside the <figure> tags and it adds a caption to the content identified by the <figure> tags.

General Syntax

      
        <figure>
   Figure Tag <figcaption>Write Caption Information</figcaption>
</figure>      
    
Try it now

Source Code

          
            <figure>
  <img src="../images/logo.png" alt="logo" class="img-responsive" />
  <figcaption><i>sidhakarinfotech</i> is a learning platforms.</figcaption>
</figure>          
        
Try it now

Source Code : Output

logo
sidhakarinfotech is a learning platforms.

Web Tutorials

HTML Figure Tag
Html Tutorial HTML
Javascript Tutorial JAVASCRIPT
Css Tutorial CSS
Bootstrap 5 Tutorial BOOTSTRAP 5
Bootstrap 4 Tutorial BOOTSTRAP 4