Sunday, June 29, 2008

Show HTML Tags Within a Blogger Post

Previously, I was having issues displaying HTML tags within a Blogger post. To get around that pesky issue, I used an underscore, e.g. <_head>,<_title>, <_file>, etc, or generated a jpg image of the example to demonstrate the use of a particular tag. But this action made it inconvenient to simply cut and paste without the arduous task of retyping or modification. Now I am using the textarea tag and it seems to be working fine with the Blogger platform.

Note: If you get the following error message when publishing/saving: "Your HTML cannot be accepted: Tag is not allowed: <_whatever_tag>", check the box to ignore.

Here is an example run that is followed by the parameters used for the textarea.




7 comments:

Diden is here said...

Thank you! you just help me to wrote something using html code, last week i just put <_head> tag to some tutorial, but when start to publish.. it was been a worse ever. my page was crowded., i have no idea,but when you recommended to insert a box,it was a new way to do so , lol.. thanks, i just bookmark your blog. and this is mine

Aditya said...

Yes man the box trick works great thanks Man appreciate it

Joseph said...

how to use it plz help me!! e mail me www.joseph@ymail.com

hausarzt said...

Easy but very effective :)
Thank you!

Mojok said...

nice tutorial..thanks for share

mla said...

Isn't this just an encoding issue? If you encode the tags as HTML entities it should work fine (as long as you edit in the raw HTML mode of blogger).

Here's a form-based encoder. Just cut-and-paste the html in the top box:
http://mlawire.blogspot.com/2009/07/html-encoder-encode-html-entities.html

Miral said...

Yes You are right MLA