W3C home > Mailing lists > Public > www-validator@w3.org > March 2001

Minimized tags error

From: Christian Smith <csmith@barebones.com>
Date: Tue, 27 Mar 2001 07:02:55 -0500
To: www-validator@w3.org
Message-ID: <20010327070257-r01010600-070c2978@192.168.0.1>
Why is the validator passing this as valid?

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
        <title>Sidebar</title>
    </head>
    <body>
        <p>
        252 Riddle Pond Road<br />
        WTopsham VT 05086<br />
        </p>
    </body>
</html>

This looks like a bug to me. <br /> is an XHTML formatted tag and doesn't
belong in an HTML document.

-- 
Christian Smith  |  csmith@barebones.com  |  http://web.barebones.com
PGP Fingerprint  -  60E5 2216 97D2 1D1A B923 F036 00A9 CEC0 D411 FA89
Received on Tuesday, 27 March 2001 07:01:30 GMT

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