Unclear error message for invalid tags under <html>

For an element that isn't <head> or <body> under <html>, ex.

<!DOCTYPE html>
<html lang="en">
<link rel="stylesheet" href="css/style.css">
<head></head>
<body></body>
</html>

The validator gives a message "Error: Start tag head seen but an
element of the same type was already open." which isn't as clear as
saying something like "Only <head>, followed by <body> is permitted in
<html>".
As an aside, it would be nice if I could open issues and feature
requests in a proper issue tracker instead of a mailing list.

Thanks,
Jason

Received on Tuesday, 20 September 2022 07:40:08 UTC