Does anyone know how to enter an example box of code into a site?

Discussion in 'HTML & Website Design' started by clickbumped, Sep 1, 2010.

  1. #1
    I want to input an example box of code into my website to teach people what the code is that's needed to redirect a page and I can't enter it without some of the code being invisible to the reader. Does anyone know how to make this visible to a reader but not a browser? thanks!
     
    clickbumped, Sep 1, 2010 IP
  2. clickbumped

    clickbumped Greenhorn

    Messages:
    58
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #2
    nvm guys i figured it out. dumb mistakes due to me being tired lol.
     
    clickbumped, Sep 1, 2010 IP
  3. CSM

    CSM Active Member

    Messages:
    1,047
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    55
    #3
    Share your solution :p
     
    CSM, Sep 1, 2010 IP
  4. princessa

    princessa Active Member

    Messages:
    761
    Likes Received:
    52
    Best Answers:
    0
    Trophy Points:
    70
    #4
    You can surround the code with <xmp> </xmp> :)
     
    princessa, Sep 2, 2010 IP
  5. goliveira1990

    goliveira1990 Active Member

    Messages:
    127
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    93
    #5
    Just use a frame
     
    goliveira1990, Sep 3, 2010 IP