Does anyone know how I can display HTML on a website page?

I thought it was as simple as:

<code><a href=http://www.link.com target="_blank"><img src=http://www.link.com/image.jpg ></A></code>

But this still displays the picture, I want it to display the HTML within the <code> tags.