Re: Minimized tags error

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