Re: Comments in markup? wrote:
>When I tested this myself, I found out I couldn't use any SGML constructs
>other than DOCTYPES or comment elements in an HTML document when feeding
>it to the Webtechs validator. Is there a reason for this? Why would an
>SGML parser allow <!-- foobar --> but not <!ENTITY foobar ...>, both of
>which are valid SGML constructs?

<!ENTITY ...

Are all declarative markup in which you can delimit comments with -- ... --.

Tags are document markup with different rules that RFC1866 covers.



Received on Monday, 29 July 1996 16:40:47 UTC