Google Chrome 18 has been released! Download now

Show HTML/JavaScript Code inside Blogger Blog Posts

Advertisement
Do you like this post?

HTML-code-between-blogger-postHave you ever tried to publish a post in which you wanted to show HTML/JavaScript code deliberately?

What happens when you paste the code and publish it…? Its hidden or simply doesn’t show in the final post, Right?

What happens…is when you put the code directly and publish the post, Blogspot simply converts the HTML/JavaScript code automatically.

The Blogspot’s XML parser takes it as a code, and shows the result whatever is written in the code you pasted… Its only you who knows that you wanted to show the code deliberately without wanting it to be parsed automatically.

So, What to do and How to show HTML/JavaScript code inside your Blogger blog post literally?

Google’s Blogger Team realized this, and have added a solution for this in Blogger’s settings.

1. Login to your blogger account
2. Go to Settings.
3. Go down to the page.
4. Under “Select Post Editor”, choose “Updated Editor”.
5. Save the Settings.

Now Go and make a post, click “Post Options” below the post editor, and select “show HTML Literally”.

Insert any HTML codes in the post and preview or publish it.

Post Option Show HTML Literally in blogger Blog post
You’ll see that HTML/JavaScript code is shown literally, exactly as you wrote in the post. :)

Preview Show HTML Literally in blogger Blog post
So… If you usually post codes in your blog posts, then you choosing updated editor. Beside this, new updated editor has many more features.

Have something to say? Leave your comments below

Liked the Above Article? Share it!

| |
Get Updates via Email:   
Translate this page

Check Out These Related Articles Too:

© 2012 tipsOtricks. All rights reserved | Copyright Policy | Disclaimer | Privacy Policy
page counter TipsoTricks Subscribers
More in Blogspot
Add 125×125 Ads Widget To Blogger Blog

Beside Google Adsense, showing ads of others sites on your blog helps you earn more. For these ads, size of...

Add Twitter Submit-button to Blogger Blog

Twitter is no doubt becoming a very efficient and a quicker way to share thoughts, information, links, news or favorites...

Close
More in Blogspot
Add 125×125 Ads Widget To Blogger Blog

Beside Google Adsense, showing ads of others sites on your blog helps you earn more. For these ads, size of...

Add Twitter Submit-button to Blogger Blog

Twitter is no doubt becoming a very efficient and a quicker way to share thoughts, information, links, news or favorites...

Close