Re: nested SGML comments

On Fri, 17 Nov 2000, Bjoern Hoehrmann wrote:

> Hi,
> 
> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <title></title>
> <p><!-- <!-- --> </p> <div> --></p>
> 
> validates (so i think SGML allows nesting of comments)

In SGML, this should be a markup declaration s ( <!  to  >) containing two
comments  -- <!--  and --> </p> <div> --

Rick Jelliffe

Received on Monday, 20 November 2000 02:32:58 UTC