Home » Tutorial

How to Write HTML Codes on Blog Posts

Written By: techieDan on March 17, 2008 No Comment

Sometimes we wonder, how the heck one can write html codes on blogs, especially wordpress just for displaying purposes but without it affecting any codes on the blog page

This is where usage of <pre> tag comes in. Yes, by enclosing the html codes in <pre> tags, one can write html freely without displaying any changes in code.

Sample of pre TAG

<pre><font color=”#ff0000″>TEST</font></pre>

Of course the best possible way is for typing out < is by using ascii codes like &lt; which means less than. So that’s how I display some tags out in html. Need anymore clarification, drop me a line.

ps : > is symbol for &gt;

Related Posts with Thumbnails

Tags:

Digg this!Add to del.icio.us!Stumble this!Add to Techorati!Share on Facebook!Seed Newsvine!Reddit!Add to Yahoo!

Leave a Reply:

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

  Copyright © 2009 TechieDan, All rights reserved.| Powered by WordPress