Hi,

is it legal to have comment tags (<!-- ... -->) _after_ the </html> at 
the end of a HTML file?

I have a simple parse script which optionally (with the &debug=1 
parameter) gives out some debug information this way, like this:

</html>

<!-- Debug Information

agent   = ((the user agent))
browser = ((a browser id generated from the user agent string))
file    = ((the file requested))
...     = ((perhaps other data))

End Debug Information -->

I'm putting this after </html> so no user agent should (should!) really 
bother with this. The W3C validator says all is fine, but I just want to 
go sure that _any_ html tag, or at least the comment tags, are allowed 
(as in, tolerated, but ignored / not rendered).

Thanks.

-- 
Regards,
S�ren Kuklau ('Chucker')
[EMAIL PROTECTED]


Reply via email to