Figure tag

<figure>

Explanation

Figure tag helps to group the entire images under it.
It helps to add an image in a webpage.
<figure> <img src="File Name" alt="Name" height="Value" width="Value"> </figure>

Example Code:

Result :

Dortmund Airport
  • The content will not get affected, even if this tag is removed.
  • It is possible to modify the border and size of the image.
  • To insert a description for an image, the "Figcaption" tag can be used. It should be applied inside the figure tag.
It is newly launched with HTML5.
It supports both Global Attributes and Event Attributes in HTML5.

Limitations:

It will function in all the browsers except "Internet Explorer" 8.0 and its previous versions.

Ask Questions

Ask Question