Monday, November 30, 2009

How to show CSS HTML Scripts Code on Blogger Post?

If you try to show some HTML, CSS or any Scripting language codes on Blogger Post directly then you may get some tag error messages or you may see blank spaces instead of code lines. To solve this problem you can apply a simple trick. You have to just modify your code a little bit.

Just Replace all "<" with

And Replace all ">" with
It is tiring to replace all "<" or ">" sign one by one. You may do that job easily using any text editor like "Notepad" or "WordPad" . You will find Replace option from menu bar.

For example, you want to show the following codes on post:

This is the screenshot of above code.

So just replace all "<" with

and similarly replace all ">" with
After modifying your code it looks like below codes:

That's all. I hope you like this simple and easy Blogger tricks to show HTML code on post.

Add To Google BookmarksStumble ThisFav This With TechnoratiAdd To Del.icio.usDigg ThisAdd To RedditTwit ThisAdd To FacebookAdd To Yahoo

No comments:

Post a Comment

Hey Guys! Thanks for visiting my blog. Hope you enjoy reading. Just leave your comments if you think this post is a worth readable! Your valuable comments are always welcomed. Please don't spam! and No abusive language would be tolerated. I would moderate your feedback and then it would be published. If you have any query I will try to give feedback as soon as possible.