|
I just found out something really weird about HTML comments. Apparently, according to standards, you can't do this: <!-- comment ------------------------ --> That is, you can't put two or more ‘-‘s inside a comment. It works as expected in IE7, but it breaks down horribly in FireFox. FireFox simply renders the comment to the user, which is pretty useless as that's not what comment are for!!. The standards "recommend" developers to not put two or more consecutive ‘-‘s inside an html comment. Now, that's weird. If there are specific delimeters like <!-- and -->, then I should be able to use any part of those delims (but not the whole) inside a comment, shouldn't I? Since, we're in the vicinity of comments...
|