Figure Tag in HTML || HTML Figure Tag

HTML FIGURE (<figure>) Tag


HTML <figure> tag is used to put up a photo in the document on HTML web page. The <figure> tag is placed for self-supporting or independent content like photos, diagrams or codes listing in an HTML web page document.

It is optional because If we remove it from the document then also it does not affect the flow of the document.

This tag is new in HTML5. The <figure> tag is written as <figure> </figure> with the caption inserted between the start and end tags.


<!DOCTYPE html>
<title> figure Tag</title>
<img src="codingtag.png" alt="CodingTag"/>
<figcaption>Fig.1.1 - CodingTag Logo</figcaption>


Best WordPress Hosting


Discount Coupons

Get a .COM for just $6.98

Secure Domain for a Mini Price

Leave a Reply

    Waiting for your comments