Как сделать код валидным?
Добрый вечер.
Проверяю код на валидность, и вот какая проблема возникла:
Error Line 340, Column 68: Element figcaption not allowed as child of element a in this context. (Suppressing further errors from this subtree.)
<figcaption style="height: 70px;" class="item-description">
Contexts in which element figcaption may be used:
As the first or last child of a figure element.
Content model for element a:
Transparent, but there must be no interactive content descendant.
И ошибок с данным тегом аж 8 штук, все остальные ошибки поправил сам, а с этим что-то никак :(
Источник: Stack Overflow на русском