Welcome!


Join more than 151,000 members on FunAdvice to ask questions, share advice, photos and make new friends today.
FunAdvice RSS for this page:
Rss_feed

Html help - how do i comment out a section?

Echinacea 'Harvest Moon' Asked by pinkpearl about 1 year 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

Echinacea 'Harvest Moon' Answered by pinkpearl on Mar 30, 2008, 06:52PM
2030 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.

Echinacea 'Harvest Moon' Answered by pinkpearl on Mar 31, 2008, 10:01AM
2030 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.com/webstation/html/chap06.shtml

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

Your Answer: HTML is not allowed.


Our members said the answers on this page also answer the following questions:


Comment out html, How to comment out html, Html comment out, Commenting out html, Comment out in html, Html comment section, Html comment out section, How to comment out in html, Html comments section, Commenting out in html, How to comment out code in html, Comment out html code, Comment out a line in html, How to comment out a line in html, Html "comment out", Comment out code html

Computers & Tech Photos

help me! help me !help me!!!!help help helpPlz Help

Share this question

Copy and paste this code:
It will display on your blog or site like this:
Html help - how do i comment out a section?