>> I would like to appologize if I am off topic. I am not sure who to ask. I
am using <!-- ... --!>

>> to comment out a line in a PHP file. Firefox2.x will use it to comment
out a link and IE7 will not use. 

>> Am I doing the commenting a line out right? 


> For an HTML comment, you should use <!-- ... --> (no ! in the closing
tag). The reason it worked in 

> Firefox is that it interprets *any* instance of "--" as a closing comment
tag. As far as I know, 

> all other browsers will wait until they get the standard "-->". 

Firefox gets it right since these ("--") are the  comment delimeters.  "<!"
and ">" are markup declaration delimiters. 






Thierry | http://www.TJKDesign.com



List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm

Reply via email to