Html help - how do I comment out a section?

piano Asked by pinkpearl 8 months ago, 3 answers.

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?

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

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

Answered by pinkpearl on Mar 30, 2008, 06:52PM
| 1634 answers.
Advisor-small

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.

Answered by pinkpearl on Mar 31, 2008, 10:01AM
| 1634 answers.
Advisor-small

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

Popular questions related to Html help - how do I comment out a section?