Is there a way to comment out a single line in HTML using just an escape sequence at the start of the line?
Similar to using #
or //
in other languages? Or is <!-- ... -->
the only option for commenting in html?
views:
292answers:
3Interesting, I never knew `<!>` was a valid comment. I'd avoid things like that just for compatibility's sake though
Matti Virkkunen
2010-04-14 19:52:19
Thanks for the awesome and exhaustive answer. I didn't think there was a way to do it, but figured it couldn't hurt to ask, and now I know a lot more about comments, and also to avoid `<!-- -------blah------ -->` which I had thought was alright since there was a space between the start and end '--'s.
aslum
2010-04-14 20:02:40