Sep 14, 2010

How to Code HTML in Blog Posting

If you want to write HTML code or other scripts in your posts, you must memparsenya first. Many probably already know this, and indeed many blogs that write some scripts in postingnya.

How can you overcome the problem of writing this HTML code? The truth is not complicated to do so. Below are three codes that are often used in writing HTML code.

< » change with &lt;
> » change with &gt;
& » change with &amp;

But if the script that wants to be written in large numbers would be troublesome to replace one by one code. To overcome this, there are online tools you can use to parse the HTML code into plain text.

To do this visit the following link.
http://centricle.com/tools/html-entities/

1. Copy-paste the HTML code you want to parse it into the box provided.
2. Press the button encode.
3. Finally, copy the HTML code that has been parsed into your posting.

With this tool instantly HTML or script code that you enter will be posted soon changed and ready.

There is one more that I want to write the HTML code associated with the writing on the website, which is used around the background. Most of the bloggers give a different background on the script he wrote. This would facilitate the visitors in the reading or writing tutorials that have been made.

Simply follow the tutorial below to apply it on your blog.

CSS
1.   Sign in to blogger.
2.   Select the menu layout (Layout) »Edit HTML.
3.   Find this code ]]>.
4.   Copy the following code in the code earlier.
.code {background: #f1f1f1; border: 1px solid #cccccc; border-left: 5px solid #cccccc; padding: 15px;}
5.   Save template

HTML
In the post use the format as below to apply css code above.
<div class="code">

script type here

</div>
Simply get here before posting this time on how to post the HTML code on blogspot, hopefully useful.

Good luck!

1 comments:

open source developer said...

Your blog is awe-inspiring. I have found many new things. Your way of staging is also fascinating. You have elected very incredible topic. I appreciated it.

Post a Comment