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.







Dafydd said this on March 12th, 2009 at 2:35 pm
Hey, is there a section just for latest news