HTML - need help with coding...

By Spike
Mar 1, 2005
Post New Reply
  1. 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...

    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?
  2. Spike

    Spike TS Evangelist Topic Starter Posts: 2,168

    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. :)
  3. RealBlackStuff

    RealBlackStuff TS Rookie Posts: 6,503

    sad.... :haha:
  4. Spike

    Spike TS Evangelist Topic Starter Posts: 2,168


    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.

Similar Topics

Add New Comment

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...