Thursday, August 20, 2009

Add HTML Codes in Blogger Post

Do you want to write some Html codes in your blog post? If so, first you would have to make a few simple changes to your blogger template so that it is able to resist any codes in the post. If you do not make the changes in the template, the Html code in your blog post will merge with the codes in the basic blogger template and you would not be able to view any codes in your post.

Hence, to make some changes in your blogger template , you would have to add a few CSS codes to your template.

Step1 :

Go to Dashboard> Layout >Edit Html.

Step 2:
Click on "Edit HTML " Tab and it will open up a new window .
Step 3:

Now Search for this Code: ]]></b:skin>
(Check out here to locate a code easily in the Template)

Add the following Code just above the ]]></b:skin> code.

border:1px solid #A6B0BF;
color:#000000 }
pre:hover {
border:1px solid #efefef;
code {
color: #000000;}
.clear { clear:both;
Step 5:

Save Your Template.

Done! Now, your blog is ready to show HTML codes in every blog post. Awesome, isn’t it? Also,it is so very easy.

There is still one more step you would have to follow, to show Html codes in blog post.
While writing your post , go to Edit Html section of your post and add <pre>before and </pre>after the codes.

Like this: <pre>Your Codes Here</pre>

That’s it! Your Html codes will show in your Blog post! :)


Anonymous said...

Приглашаем Вас посетить нашу [url=]доску бесплатных объявлений[/url]. Вы сможете оставить свое объявление без регистрации, но с обязательной постмодерацией.
Надеемся что на нашей доске вы найдете именно то что вам нужно, или же сможете выгодно продать свои услуги

Anonymous said...

Новый сайт видео [url=]знакомства, [/url]регистрация бесплатна.