W3C home > Mailing lists > Public > www-validator@w3.org > January 2005

Re: <br/> in HTML, not XHTML

From: David Dorward <david@dorward.me.uk>
Date: Wed, 26 Jan 2005 16:49:58 +0000
To: Michael Firbach <firbach@artis-group.com>
Cc: www-validator@w3.org
Message-ID: <20050126164958.GB31538@us-lot.org>

On Wed, Jan 26, 2005 at 05:39:15PM +0100, Michael Firbach wrote:
>    The Validator seems not to warn for
>  <br/>
>    tags in HTML 4.0 Transitional Documents. Is this behaviour correct?

In HTML, <br/> means the same as <br>> or <br>&gt;. Anywhere you are
allowed a line break element in HTML, you are also allowed character
data.

So the validator is correct when it doesn't throw an error, but you
still don't want to use that syntax.

-- 
David Dorward                                      http://dorward.me.uk
Received on Wednesday, 26 January 2005 16:50:00 GMT

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