gravatar

display html code in posts

Not uncommon in a blog posting, we want to display the HTML code. And not a secret anymore, if it can also add blogs visitor attraction. Especially if you blog theme was the blogger tips and tricks, blog tutorials, and blog optimization.

Displaying HTML code in postings do not like ordinary writing code. If you put in posting the original code, then appearing in the posting is the result of the HTML language translation of the code. Try copying the following code and paste it directly in the entry (post) your blog:

<b> "Why, its code appears guns ???"</ b>

The result might be like this "Why, the code appears guns?"


Below is a 2 (two) practically blogger tricks to appear in the HTML code posts:

The first is by manually, ie change the characters a certain code. Let's look at the characters that need to be replaced:

Replace the code with the code
<&lt;
> &gt;
"&quot;


The second is to parse the HTML code would you enter the site using the online service. Please you visit:


Centricle.com (http://www.centricle.com/tools/html-entities)


Enter the code would you parse, then press "Encode" or if you want to return to the original code press "Decode".


Blogcrowds (http://www.blogcrowds.com/resources/parse_html.php)


Enter the code that will diparse, but this time you just press the button "Parse".


Good display HTML code in postings ...