Forums Forums White Hat SEO Omitted Head element – is it bad?

  • Omitted Head element – is it bad?

    Posted by FragrantCow7380 on February 6, 2023 at 4:04 pm

    So we’re running an ecommerce webstore on a CMS that doesnt support FAQ page schema, which we put up manually on product category page body. For Google rich results apparently all schema markup should be in the Head-tag. Natively head closes before the body so I’ve gone and removed the closing Head-tag. Now there’s just a <head> element without </head>.

    W3C html validator doesn’t prompt an error for it.

    Any idea how bad is it for seo?

    FragrantCow7380 replied 1 year, 2 months ago 2 Members · 1 Reply
  • 1 Reply
  • Neither-Emu7933

    Guest
    February 6, 2023 at 4:40 pm

    I am surprised that it isn’t throwing an error. How does it appear when you do a URL inspection in GSC?

    Not knowing where the <head> ends and the <body> begins would seem to be problematic.

  • scarletdawnredd

    Guest
    February 6, 2023 at 5:34 pm

    That’s terrible markup. It will cause a load of technical issues down the line.

    And for the record, schema doesn’t need to go in the head, that’s a misconception. You can insert it anywhere. Historically scripts markup goes in the head so it is prioritized in the DOM, but you can absolutely have it down in the body or lower body.

    I can at least anecdotally confirm it as few of the sites I manage inject it via components in the body and still qualify/win rich results.

  • threedogdad

    Guest
    February 6, 2023 at 5:42 pm

    that’s *bad* for SEO and a lot of other things

  • ackthpt

    Guest
    February 6, 2023 at 7:39 pm

    schema definitely does not need to be in the head section

Log in to reply.