Yours | Mine | Web | Tutorials | Resources


Showing HTML

If you're writing a tutorial, it's often helpful to make a code visible to the page viewer. Let's say you want to make this image show as code:

You could always use a textarea:

But I think it looks even better when you can use it like this:

<img src="orly.jpg">

All you need to do is replace your <'s and >'s with &lt; and &gt; respectively. For example:

&lt;img src="orly.jpg"&gt;

There are other symbols you can make with the & and ; as well:

♥ : &hearts;
♣ : &clubs;
  (space) : &nbsp;
& : &amp;
and many more!

They come in handy! ♥
:)

Free Web Hosting