- From: Tim Luoma <luomat@peak.org>
- Date: Sat, 27 Jul 2002 11:19:44 -0400
- To: Erik Forsberg <forsberg@lysator.liu.se>
- CC: www-validator@w3.org
Erik Forsberg wrote: > This HTML code: > > --snip-- > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head> > <title>Test of the validator</title></head> > <body> > <table border="0" cellpadding="0" cellspacing="0" width="100%>" > ..validates with "No errors found" at validator.w3.org (except for the > warning about character encoding). > > Notice the table-tag and the fact that the second '"' is outside the > tag. Is that really correct HTML? Looks like a bug to me... but since attributes do not have to be quoted in HTML (iirc) that may be why it isn't catching it... but I don't know why it's not realizing there is text where there shouldn't be. If you went to XHTML, the validator would complain ;-) CSE Validator[*] would have caught the problem in the original file that the W3C validator missed. TjL [1] http://htmlvalidator.com/ ... just another happy customer....
Received on Saturday, 27 July 2002 11:19:57 UTC