Powered by NeGD | MeitY Government of India® UX4G
Figures
Whenever there is a need to display content, such as an image with an optional commentary, think about utilising a <figure>
.
To give some default styles for the HTML5 <figure>
and <figcaption>
elements, use the included .figure, .figure-img, and .figure-caption classes. Be careful to include the .img-fluid class to the <img>
to make it responsive since images in figures do not have a specific size.