HTML - need help with coding...

Spike

Posts: 2,122   +0
I'm trying to display a few lines of code on a html page, for an example, I'm trying to say something along the lines of...

To display the banner above, all you have o do is enter the line...

<script="javascript" ......></script>

...into the head tags of your page , and ......

but each time I do this the page acctually runs that line of code, whereas I want it to remain text.

I've tried wrapping the line in a <pre> tag, but it doesn't seem to work. probably because it's wrong. lol

Can anybody tell me how to do this?
 
Nevermind (again!) crisis averted.

I was editing files on the server, and the editor was changing my htmlentities to the acctual symbols when I saved.

After editing in notepad, and uploading, the page displayed how I told it to. :)
 
LMAO!!!!

I really don't have any idea why I keep doing this. I post a question, and then suddenly I find the answer. I don't post the question, and I haven't got a clue.

It's getting pretty bizzare now. That's the second time in a few days.
 
Back