Reply to Re: Comments within head area

Your name:

Reply:


Posted by dorayme on 11/07/05 07:32

> From: rf <rf@invalid.com>

> dorayme wrote:
>
>> My brain hurts, rf... :)
>
> http://www.htmlhelp.com/reference/wilbur/misc/comment.html
>
> --
> Cheers
> Richard.

This is legal, that is legal, this is illegal, that is illegal,
but it all does not matter in practice because some or other
browsers don't take niceties into account...

It seems I have avoided the whole thing as I roughly outlined
and as it says in your url at the end:

"use the following simple rule to compose valid and accepted
comments:

An HTML comment begins with "<!--", ends with "-->" and does not
contain "--" or ">" anywhere in the comment."

Still, I suppose it is something that one can go into a bit out
of no practical interest. In some things (like grep pattern
searches) one escapes characters with a "\" in front. There is
likely no reliable escaping things like ">" or "<" within
comments...?

Suppose I want to say in my source at one point:

<!-- Crikey! The "<--" at the start of the last comment at line
40 just winked at me as I typed just now at line number 58 above
-->

Ho hum...

--
dorayme

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация