NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 816 - <head><p></head><body> should say that <p> is not allowed in head
<head><p></head><body> should say that <p> is not allowed in head
Status: RESOLVED INTENTIONAL
Product: Validator.nu
Classification: Unclassified
Component: HTML parser
HEAD
All All
: P2 normal
Assigned To: Nobody
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-01-30 22:06 CET by Simon Pieters
Modified: 2015-04-01 09:46 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Pieters 2011-01-30 22:06:27 CET
http://validator.nu/?doc=http%3A%2F%2Fdevelopers.whatwg.org%2F&out=text currently gives:

...

Error: Element “link” is missing required attribute “itemprop”.
From line 18, column 10; to line 18, column 55

Error: Stray end tag “head”.
From line 19, column 1; to line 19, column 7

Error: “body” start tag found but the “body” element is already open.
From line 20, column 1; to line 20, column 6

...

It would be helpful if the validator emitted a message when seeing <body> and body had already been implied which highlights the token that implied body and saying that it should be moved into the body or so.