W3C home > Mailing lists > Public > www-validator@w3.org > February 2002

Bug: Validates bad HTML

From: VanDellon, Mark <MVandellon@crt.xerox.com>
Date: Tue, 5 Feb 2002 11:01:55 -0500 (EST)
Message-ID: <BF85F885643CD21188230008C756293503E835E3@crte128-2.wrc.xerox.com>
To: "'www-validator@w3.org'" <www-validator@w3.org>
I'm not an HTML expert but I don't think that this is correct.
This HTML validates but is missing the closing '>' on line 18.


1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2: <html>
3: <head>
4: <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5: <title>Error Example</title>
6: <style type='text/css'>
7: <!--
8: body { background-color:#f5f5f0; color:black }
9: .c8n { font-family:arial,sans-serif; font-size:8pt; font-weight:normal }
10: -->
11: </style>
12: </head>
13:
14: <body>
15: <form action='abc' method=post>
16:   <div class=c8n align=center style='margin:12pt 0 0 0'>
17:     <input class=c8n type=submit name=Button value="Infraction Save">
18:     <input class=c8n type=button name=Back value=Cancel
onclick='history.back()'
19:   </div>
20: </form>
21: </body>
22: </html> 
Received on Wednesday, 6 February 2002 17:05:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:00 GMT