Home » Interests » Computers & Technology » Html help - how do I comment out a section?

Welcome!


FunAdvice is a social question & answer site where you can make friends, share photos and meet people near you.
FunAdvice RSS for this page:
Rss_feed

Html help - how do I comment out a section?

piano Asked by pinkpearl 4 months ago, 3 answers.
Send me Fun Mail

I have a section of code that I don't want to remove, but just want to temporarily disable on a web page. How do I do that?

Send this to a friend

Answered by forcedexile on Mar 30, 2008, 06:38PM
Send me Fun Mail | 5 answers.

I would cut the code out and put it back in later

piano Answered by pinkpearl on Mar 30, 2008, 06:52PM
Send me Fun Mail | 1472 answers.

Yes, I was just trying to find a way around that - if I cut it out and put it somewhere else, I'll never find it again. Thats the problem.

piano Answered by pinkpearl on Mar 31, 2008, 10:01AM
Send me Fun Mail | 1472 answers.

Ok, I did eventualy find the answer myself, so I'll post it here for reference..

The Comment Tag...
If you are writing an HTML document, sometimes you may want to put little reminders to yourself with your code so that you will be able to interpret your coding better. A comment will not appear in a web browser when the page is displayed... it is only visible when the source code is viewed. You start commented text with

'< !-- and end it with -- >'.

(I had to use quotes and insert spaces to make it show)

source: http://www.davesite....

Answer this Question: "Html help - how do I comment out a section?"

Your Answer: HTML is not allowed.


Back to top




 

Related Photos

wazzzzup me khjut man united love vermont my camera