SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Thread: html on page

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Aug 2000
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hey

    i'm having some trouble showing html on a webpage without it being read by the browser. how do i show html tags on a website?

    - goter

  2. #2
    Freelance Web Designer KeithMcL's Avatar
    Join Date
    Oct 1999
    Location
    Dublin, Ireland
    Posts
    1,125
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You need to use special characters to show them.

    use &lt; to generate a <
    use &gt; to generate a >
    use &amp; to generate a &
    use &quot; to generate a "

    Hope this helps

  3. #3
    SitePoint Zealot Technics's Avatar
    Join Date
    Aug 2000
    Posts
    184
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Won't the xmp thingy work. if i read your question right use <xmp> blah your html u wish to show </xmp>

  4. #4
    SitePoint Member
    Join Date
    Aug 2000
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hey

    thanx. i'll try both of those answers.

    - goter


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •