Ready to get started?Download WordPress


Element hgroup not allowed/obsolete errors (1 post)

  1. jcolgrove
    Posted 9 months ago #

    Currently getting the following errors when using W3C and need help fixing:

    Validation Output: 2 Errors

    Error Line 37, Column 52: Element hgroup not allowed as child of element header in this context. (Suppressing further errors from this subtree.)
    <hgroup id="branding" class="twelvecol last">
    Content model for element header:
    Flow content, but with no header, footer, or main element descendants.
    Error Line 37, Column 52: 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="branding" class="twelvecol last">

    Not sure where to edit or what even to edit! Trying to figure out why my photos won't show up on Bloglovin and hoping this is it! If it's not, teach me to fix that too please!! I'm a newbie!

    The blog I need help with is http://www.visionsofvogue.com.


You must log in to post.

About this Topic