Re: Minimized tags error

From: Christian Smith (csmith@barebones.com)
Date: Tue, Mar 27 2001

  • Next message: Michael Newton: "validation error with script element?"

    Date: Tue, 27 Mar 2001 19:13:03 -0500
    From: Christian Smith <csmith@barebones.com>
    To: www-validator@w3.org
    Message-ID: <20010327191303-r01010600-1768c918@204.107.232.107>
    Subject: 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!