Content

August 9, 2009

How to Displaying Code or Script in Blogger Post

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.

0 comments:

Post a Comment

Categories

Fixed (2074) 2 Column (1778) White (1765) 1 Right Sidebar (1443) Bookmark Ready (806) Black (750) Gray (707) 3 Column (633) Elegant (609) Blue (592) 1 Left Sidebar (590) Brown (523) Custom Navbar (276) Green (273) Magazine (258) 2 Right Sidebar (245) Red (174) Left and Right (141) Girly (134) Floral (132) Gallery (116) Yellow (93) Orange (88) Pink (83) News (65) Natural (63) Vector (56) Violet (48) 1 Column (41) Fashion (27) Movie (16) Video (13) Space (11)
OnLine Media. Powered by Blogger.

Followers

OnLine Media friends

Blog Archive

Something

Disclaimer: We hold no responsibility for any content and external links provided in this search results page. By visiting this page, you agree to the disclaimer