How to Displaying Code or Script in Blogger Post

Saturday, August 8, 2009 |
This tutorial only show you how to add code or javascript code to blogger post without being executed. You can change the way you show it by using blockquote or your own style.

Step 1. Go to your blog >> Posting >> New Post and write everything you want to show to your reader except your Code or Script. Please make sure you use Edit Html to post your article.

Step 2. Copy the script you want to show to your reader. Let me give you the example :
<div class='post-body entry-content'>
<data:post.body/>
<div style='clear: both;'/> <!-- clear for photos floats -->
</div>

Copy that code and convert it using Parse HTML generator tool. you can find it here

1. http://www.blogcrowds.com/resources/parse_html.php

Step 3. Parse the code and copy the result to your edit html editor post. You can use blockquote to make it looks different.

Step 4. Publish your post and done.

Note : You can place any code or script to blogger post by using this tricks.
Enjoy. Make It Simple

Share it with the World!
Digg It! Add to del.icio.us Stumble This

0 comments:

Post a Comment