- From: Michael Adams <linux_mike@paradise.net.nz>
- Date: Sat, 13 May 2006 21:19:43 +1200
- To: www-validator@w3.org
On Fri, 12 May 2006 23:40:58 +0300 (EEST) "Jukka K. Korpela" <jkorpela@cs.tut.fi> wrote: > > On Fri, 12 May 2006, Jan Christian Anker wrote: > > > The following line in my HTML-coding results in a bunch of > > WARNING messages (i.e. no error, but annoyance) > > <!-- ----------------- Text etc goes here ----------------- --> > > The following line validates just fine: > > <!-- _________________ Text etc goes here _________________ --> > > So what's the problem? Why don't you use the latter? > > The validator warns about the former, since there is a high risk of > using a wrong number of hyphens and getting wrong results on browsers > and other software that process comments correctly. > > (On the other hand, why don't you just remove the comment? If your > HTML markup "needs" a comment, the odds are that it is too artificial > and should be restructured. Comments considered harmful.) > Ok, Jukka, I'll bite. Why are comments considered harmful? (I Googled and couldn't find any relevant hits.) -- Michael Those that can, do; those that can't, teach.
Received on Saturday, 13 May 2006 09:18:58 UTC