I am trying to build a clean HTML5 structure for my projects,
I didnt get the usage variety for Figure tag;
Can we really use Video in Figure as this page said:
http://oopeducation.com/html5/html5-figure-tag/
Or is it only for images?
Thank you!
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.
Yes you can – according to the HTML5 spec, a
<figure>permits flow content (which is comprised of both flow elements & normal character data). Given that<video>&<audio>are both one of the many flow elements, it is perfectly valid for them to be nested within a figure.This article from HTML5 Doctor seems to suggest the same thing, take a look.