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

Re: Minimized tags error

From: Christian Smith <csmith@barebones.com>
Date: Tue, 27 Mar 2001 19:13:03 -0500
To: www-validator@w3.org
Message-ID: <20010327191303-r01010600-1768c918@>
On Wednesday, March 28, 2001 at 8:33, mimasa@w3.org (Masayasu Ishikawa) wrote:

> The SGML declaration of HTML 4.01 says "SHORTTAG YES", which allows
> this kind of shorthand markup.  However, in this case the null end-tag
> (NET) delimiter is "/", so ">" is just treated as character data.
> In other words, "<br />" is an equivalent of "<br>>" in this case.
> Try the validator with "Show parse tree" option, then you'll see
> that ">" after "<br /" is not parsed as part of markup but as just
> a character in the parse tree.

Ahh ha.  see now. Thanks. In any event then one shuold be very carefull
and -not- use this format because a well behaved (are there any?) browser
would render that trailing > as character data, no?

Christian Smith  |  csmith@barebones.com  |  http://web.barebones.com

He who dies with the most friends... Is still dead!
Received on Tuesday, 27 March 2001 19:13:12 UTC

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