>> 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.
http://www.w3.org/TR/html4/intro/sgmltut.html#h-3.2.4
--
Regards,
Thierry | http://www.TJKDesign.com
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************