This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 16412 - missing head open tag is not reported as error
Summary: missing head open tag is not reported as error
Status: RESOLVED INVALID
Alias: None
Product: Validator
Classification: Unclassified
Component: check (show other bugs)
Version: HEAD
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: qa-dev tracking
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-17 10:10 UTC by support
Modified: 2012-03-17 14:35 UTC (History)
0 users

See Also:


Attachments

Description support 2012-03-17 10:10:11 UTC
if i validate the following html the validator does not complain about the missing opening head tag:

<!DOCTYPE HTML SYSTEM>
<html>

<title>dd</title>
</head>
<body></body>
</html>

Shouldn't this be the case?
Comment 1 support 2012-03-17 10:13:54 UTC
also passing with this:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>

<title>dd</title>
</head>
<body><div>dwwfef</div></body>
</html>
Comment 2 Ville Skyttä 2012-03-17 14:35:22 UTC
http://www.w3.org/TR/html4/struct/global.html#h-7.4.1

7.4.1 The HEAD element
Start tag: optional, End tag: optional