I'm a new web developer trying to understand the proper use of a figcaption tag.
What sort of children is it allowed to have? I was hoping to divide a figcapition's content into multiple <p>
children but am not sure if that's semantically correct.
CodePudding user response:
It can contain any "flow content", which is quite a lot, i.e. almost everything you might think of in that context: https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#flow_content
(https://developer.mozilla.org/en-US/docs/Web/HTML/Element/figcaption)