Is there any specific advantage/usage of using HTML5 <figure> over <img>?
I think <figure> is useless without <figurecaption>, isn’t it?
It will be helpful if explain with an example.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Images are not technically inserted into an HTML page, images are linked to HTML pages. The
<img>tag creates a holding space for the referenced image.While the content of the
<figure>element is related to the main flow, its position is independent of the main flow, and if removed it should not affect the flow of the documentFrom http://dev.w3.org/
"The img element represents an image," while "[t]he figure element represents a unit of content, optionally with a caption, that is self-contained, that is typically referenced as a single unit from the main flow of the document, and that can be moved away from the main flow of the document without affecting the document’s meaning."