How to show HTML codes on a webpage

Demonader

Beta member
Messages
1
How can I make HTML codes show up on a webpage in a browser?

I'm writing HTML in Notepad++... Any suggestions? I tried <pre>...</pre>, didn't seem to work.
 
You will have to use character codes to display the "<" and ">". These are <, and >, respectively. I think that should do the trick for you.
 
That or put the <code> tags around the code you want to display.

EDIT, nevermind I don't think that will work for what you want to do. Try doing what post #2 said.
 
Back
Top Bottom