Russell asks: Why do the specs say that leading spaces in a comment block are illegal? <! -- Why is this comment illegal? -- > Because SGML defines them that way. <! opens a markup declaration: if it's a comment declaration, then the comment sequence -- must follow immediately. Don't think of -- as being the comment delimiter: that is only true inside DTDs, and even then only inside declarations in certain circumstances. In regular HTML files, <!-- starts a comment and --> ends it. Period. ///PeterReceived on Thursday, 18 June 1998 11:36:32 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 6 April 2009 12:59:03 GMT