there is a html script that kills html so it makes the source code appear instead of the effect of the html... does anybody know it? its a very simple you just type it in and then close it with the "/" when you want
there is a html script that kills html so it makes the source code appear instead of the effect of the html... does anybody know it? its a very simple you just type it in and then close it with the "/" when you want
<!--
before the text you want 'commented' out and
-->
after it.
In CSS you would use /* before and */ after the text
In php you can use a few different ways:
// Before the line of text to be commented (no ending // needed)
# before the line of text to be commented (no ending # needed)
/* before the text and */ after it.
doesnt that just hide the html... I mean if you put it infront of the page source code it will display all the html code instead of actually doing what the code is meant to do
You would have to use the HTML codes for symbols like < and > (< and > respectively)
Then the code would appear on the page without actually rendering it. Use a program like Nvu to just cut and paste code into the WYSIWYG window and this substitution will be done for you.
Sorry guess I didn't understand what you meant.Originally Posted by Bebi
edit: looks like rick phlegm's idea would work like you want.
Also if you want to keep the spacing/indentation/line breaks that you've put in the code put <pre> tags around the code.![]()
Last edited by tesco; 09-16-2005 at 04:57 PM.
Bookmarks