How do I REM out a line of html?

I have a line of html that I wish to temporarily disable.

How do I do that while leaving it in there for future reference?

Thanks,

Jon

<!-- //

Your html here

// –>

Is a common practice, although CDATA tags are being implemented for JavaScript which contains non xhtml compatible code.

Thanks!

Jon

Originally posted by TheOriginalH
[B]<!-- //

Your html here

// –>[/B]

HTML comments are just <!-- and –>. Obviously, anything else inside those is ignored, but I’m unsure as to why you did the JavaScript code hiding technique of <!-- //–>…

Originally posted by mattjacob

HTML comments are just <!-- and –>. Obviously, anything else inside those is ignored, but I’m unsure as to why you did the JavaScript code hiding technique of <!-- //–>…

Yes, I do that out of habit - Mr Jacob is of course absolutely right. :smiley: