Welcome to WebHeadStart.org

Web Technologies

Sponsored By

WebHeadStart.org is currently in beta.
Please pardon our appearance as we work to provide you with the most comprehensive reference on today's web technologies.

Interested in advertising on WebHeadStart? Become an advertising partner today!

[WWW-HTML Mailing List Archive Home] [Messages By Thread] [Messages By Date]

Correct comment placement

From: IrYoKu <thebreaker@terra.es>
Date: Tue, 25 Mar 2003 15:50:57 +0100
Message-ID: <3E806CD1.10601@terra.es>
To: "www-html@w3.org" <www-html@w3.org>

Hi,

I am wondering about the correct placements of an html comment (<!-- 
this -->).
Especially if it is correct to place it before the doctype:

<!-- Hi there ^_^ -->

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" 
"http://www.w3.org/TR/html4/strict.dtd ">

<html>
...

Because Internet Explorer seems to not take the doctype at all if you do 
a comment placement like this.
I am putting the comments between the doctype ad the html tags, and I 
would like to have know if this is correct.

I did some search with no luck, sorry if this is a dup.

Thanks a lot,
IrYoKu
Received on Thursday, 25 March 2004 10:42:01 GMT
Valid XHTML 1.0! Valid CSS! Site Map | Privacy Policy | Terms of Use | WebHeadStart.org © 2005 All Rights Reserved.