ShipworkSite inspection
Checks
Every error, explainedGuides →
Pricing Learn Guides

Does your HTML parse the way you expect?

HTML errors rarely break the page a human sees, because browsers are forgiving. They do break parsers: a misplaced tag can move a price element out of the product block, and a validator is the only practical way to see it.

Runs the free audit, which includes this check where it applies to your site. Nothing is stored.

What this check inspects

Shipwork sends the page HTML to the public W3C Nu HTML checker and reports the error and warning counts with the first few messages and their line numbers. If the page returns an error status or an empty body, it says so instead of validating nothing and reporting health.

What a failure means

Each HTML error is reported as an error. Markup errors are not a ranking factor on their own, but they cause parsing problems that break structured data, rendering and accessibility in ways that are hard to find by eye. Warnings are worth clearing but are usually cosmetic.

How to fix it

  1. Fix unclosed and mis-nested tags first. Those move content in the parse tree and cause the most damage.
  2. Correct duplicate id attributes, which break both validation and any script or label that targets the id.
  3. Remove element combinations the checker flags as invalid rather than assuming browsers will cope.
  4. Re-run the validator after a theme change, since a template edit can introduce errors site-wide.

A typical failure, worked through

The setupA theme edit leaves a div unclosed inside the product template, so the price block ends up nested inside the description element.

What the check reportsThe validator reports an error on the line, and the structured data check separately reports that price is missing, because the parser moved the element out of the Offer context.

The pointValidation errors are often the root cause behind a structured-data symptom. Fix the markup before rewriting the schema.

Questions

Do HTML errors hurt SEO?
Not directly. They hurt when they break parsing, structured data or rendering, and those problems can affect how the page is understood.
How many errors is acceptable?
Zero is the target for a template, because a template error repeats on every page. A page with one or two errors is a smaller problem than a pattern that touches the whole catalogue.
Why does the validator report things my browser accepts?
Browsers are designed to recover from invalid HTML. The validator checks the specification, so it flags constructions that browsers silently repair in ways you did not intend.

Related checks and guides