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 2340 - Simple HTML failing validation with bogus error
Summary: Simple HTML failing validation with bogus error
Status: RESOLVED INVALID
Alias: None
Product: Validator
Classification: Unclassified
Component: Parser (show other bugs)
Version: HEAD
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Terje Bless
QA Contact: qa-dev tracking
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-13 17:03 UTC by Gamigin
Modified: 2005-10-13 17:16 UTC (History)
0 users

See Also:


Attachments
The HTML that fails validation (259 bytes, text/html)
2005-10-13 17:04 UTC, Gamigin
Details

Description Gamigin 2005-10-13 17:03:31 UTC
The following HTML fails validation:

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

<html>
	<head>
		<title>Slot Reporting</title> 
		<link href="CSS/main.css" type="text/css" rel="stylesheet"/>
	</head>
	<body>
	</body>
</html>

With error:
Line 7 column 7: end tag for element "HEAD" which is not open.
Comment 1 Gamigin 2005-10-13 17:04:18 UTC
Created attachment 394 [details]
The HTML that fails validation
Comment 2 Bj 2005-10-13 17:16:31 UTC
The /> syntax is not allowed for HTML documents.