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

validator.w3.org not catching stale " in width-specification of table

From: Erik Forsberg <forsberg@lysator.liu.se>
Date: Sat, 27 Jul 2002 05:36:42 -0400 (EDT)
To: www-validator@w3.org
Cc: astrand@lysator.liu.se
Message-ID: <87r8hp7bs3.fsf@j218.ryd.student.liu.se>


This HTML code:

<!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>
<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?

I noticed the problem because Mozilla and Opera differs in how they
parse the width-attribute. Mozilla seems to think it should render it
as 100% of the page-width, Opera squeezes everything into the left
corner. I was surprised when a friend of mine pointed out the error,
because I validated the page without errors.

Btw, thanks for a really useful service - I use it all the time when I
create webpages!

Erik Forsberg                 http://www.lysator.liu.se/~forsberg/
GPG/PGP Key: 1024D/0BAC89D9 <forsberg@lysator.liu.se> 
Key Fingerprint: B308 87FC 566E 825A 5ABC  247C AC9B AB14 0BAC 89D9
Received on Saturday, 27 July 2002 10:40:50 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:28 UTC