<figcaption> tag is used to add caption(related information) of an image.

<figcaption> .... </figcaption>

FIGCAPTION Element is used to put an additional information about the image. As if we have to give a discription about the image, we don't need to embed an another paragraph to define the description. It may slightly complex also, to use another paragraph and style it with the displayed image. So with FIGCAPTION Element, we can define a description and it will automatically adjust its surrounding style according the image.

Here is the Syntax for FIGCAPTION Element

Supported Browser
html5 tutorial html5 tutorial html5 tutorial html5 tutorial html5 tutorial


<figcaption> Some descriptions here </figcaption>

Below is complete syntax along with example


<!DOCTYPE html>

<html>
	
    <head>
    	 <title>Title name will go here</title>
    </head>
    
    <body>
		
        <p>The quick brown fox jumps over a right lazy dog.
           The quick brown fox jumps over a right lazy dog. 
           The quick brown fox jumps over a right lazy dog. 
           The quick brown fox jumps over a right lazy dog. 
           The quick brown fox jumps over a right lazy dog. 
           The quick brown fox jumps over a right lazy dog. </p>
        
		<figure>

			<img src="images/rose.jpg"/>
			<figcaption>This is rose flower.</figcaption>
            
		</figure>
        
    </body>
    
</html>

Download