Re: <br/> in HTML, not XHTML

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 UTC