Home More advice Computers & Tech
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?
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
" ".
(I had to use quotes and insert spaces to make it show)
source: http://www.davesite.com/webstation/html/chap06.shtml
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.
I would cut the code out and put it back in later