Re: Error in Results

> I have noticed an error in the results when checking the html of my pages.
> It shows that I have an already open <body> tag when in fact I don't, I have only 1 opening and 1 closing body tag.
> I have attached a screenshot of it.

From the little to see here (consider sharing URLs of test pages and
results) it looks like the opening <body> on this page comes too late;
the <picture> and possibly other elements before it already imply a
<body> start tag (it’s not visible but is assumed to be there).

By moving your <body> start tag before those other elements you should
be able to fix the issue, and the message should disappear.

The spec at https://html.spec.whatwg.org/multipage/sections.html#the-body-element
may give a starting point if you’re more curious about what’s going
on.

Best,

 Jens.

-- 
Jens Oliver Meiert
https://meiert.com/en/

Received on Thursday, 3 December 2020 17:33:03 UTC