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!
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.