Sunday, February 28, 2010

How You Can Add HTML Codes in Blogger Posts


   Recently, one my blog readers wanted to know how do I add Java scripts and other HTML codes in my blog posts. To be very frank, even I had this question when I started my blog initially. And when I tried to implement such tricks in my blog, I faced a lot of difficulties with the coding. But nowadays, I find many sites have come up with blogging tips and it has become very simple to customize your blog. Let me straight away tell you, how to implement this trick on your blog posts.

If you just want to show up HTML codes in your blogger post, that is without any customization, then use this site : Simple Code. This method will show the HTML as it is and looks very simple. If you want to customize the way it is displayed, like I do in my blog, then you should follow the next method. In this method, you will have to include some codings and then your job will be done.

Follow these simple steps to include the HTML/Java script codes in your blog post:
1. Navigate to "Layout>>Edit HTML" from your dashboard. Make a back up of your template before you do any changes in the template.
2. Now, do a search using "CTRL+F" for the following line: ]]>/b:skin
3. Once you find the code, Download and Paste the following piece of code above it.
4. Once you do this step, save your template and return to your blog post where you want to insert the HTML code. Place the HTML content in between the following two tags namely, div class="codeview" and /div.
5. You can include the code straight away in the "Compose Mode" of your blog post area. After you complete your post, you can simply click the button "PUBLISH POST" and later, view the result.

If you still find problems with the display of HTML codes, then use Simple Code and get the simplified code from that site. Now, place this simplified code in between the two tags as mentioned in step four. That's all folks. Hope I made it simple and clear. Please post your views below through comments.
 


For Further Reading,
Blogger, Blogger Tips, Blogging, Blogging Tips, Blogspot Tips, Design Tips

0 comments:

Post a Comment

 

Funny Stuff

Man Behind This Blog

Krrish, currently doing his study, is a part time blogger from Delhi, India.

His areas of Interest are Computers, HTML, Web Designing WordPress and Blogger.

He Loves to work on WordPress, Blogger, PHPBB3, MYBB etc and helps others with Tips and Tricks to make successful websites..

At 99B-Everything About Blogging, he writes about Blogging, SEO, Blogger Tutorials,WordPress Tutorials, Blogger Templates and Making Money online.
He Also Provide services in WordPress Installation, Thesis Theme Customization, Link Building and more..(Portfolio Website coming Soon)
Get Traffic to Your Blogs Free- "Sign Up Today Free... "