Ошибка при проверке валидности html
-
Добрый день, уважаемые форумчане.
Проверил сайт на валидность кода здесь — http://validator.w3.org/Две ошибки:
Error Line 44, Column 28: Element hgroup not allowed as child of element div in this context. (Suppressing further errors from this subtree.)
<hgroup id=»site-heading»>
Content model for element div:
Flow content.Error Line 44, Column 28: The hgroup element is obsolete. To mark up subheadings, consider either just putting the subheading into a p element after the h1-h6 element containing the main heading, or else putting the subheading directly within the h1-h6 element containing the main heading, but separated from the main heading by punctuation and/or within, for example, a span class=»subheading» element with differentiated styling. To group headings and subheadings, alternative titles, or taglines, consider using the header or div elements.
<hgroup id=»site-heading»>Нашел код в файле темы header.php:
<hgroup id="site-heading"> <h2 id="site-title"><a>Дневник инвестора</a></h2> <h3 id="site-description"><?php bloginfo( 'description' ); ?></h3> </hgroup>
В чем проблема не могу понять…
- Тема «Ошибка при проверке валидности html» закрыта для новых ответов.