Re: Campaign for new SHORTTAG in HTML 4

Where the SGML declaration for HTML 4.01 simply has "SHORTTAG YES"
"Russell O'Connor" <roconnor@math.berkeley.edu> suggests:

> Actually we need to modify the Declaration to read something like
> 
> SHORTTAG
>  STARTTAG
>   EMPTY NO
>   UNCLOSED NO
>   NETENABL NO
>  ENDTAG
>   EMPTY NO
>   UNCLOSED NO
>  ATTRIB
>   DEFAULT YES
>   OMITNAME YES
>   VALUE YES


> Did I get that right?

More or less.  However, because of Appendix C of XHTML 1.0, I think
any of <br>, <br/>, or <br></br> should be allowed for defined-empties
like "br".  So don't I then need to replace "NETENABL NO" with
"NETENABL IMMEDNET" (as in the SGML declaration for XML)?

>                 I'm less sure about the value for ATTRIB DEFAULT.

Don't know -- would need to check carefully but not now.

                                    -- Bill

Received on Tuesday, 14 January 2003 23:28:41 UTC