How to Display Sample HTML

If you’re looking to write about web design and HTML, you’ve no doubt run into this problem. How do you display sample mark-up that the user can see?

The problem is simple. You want to display the sample markup. The user’s browser wants to render it as actual mark up. You need to come up with something to tell the browser – “Hey, this isn’t supposed to be rendered!”

There are a few ways to do this, laid out in the articles below.

Bookmark and Share:
  • Digg
  • Furl
  • del.icio.us
  • StumbleUpon
  • MisterWong
  • DZone
  • Technorati

2 Comments to “How to Display Sample HTML”

  1. Dafydd said this on

    Hey, is there a section just for latest news

  2. Barry Green said this on

    What theme are you using here ? I like the design. Thanks for the post.

Leave a Reply