Wednesday, March 16, 2011

How to Write HTML Code in Blogger posts

When I wanted to post an article that contains HTML code, without knowing I wrote it in the normal way in the New Entry. As soon as I posted and see the results, which were apparently the HTML code I can type does not appear on post pages. I think it may be erased when editing text. Then I repeat again. It turned out that the results remain the same. Feeling confused and intrigued at last I am looking for information via google. I found several blogs that discuss these issues and their resolution, it turns out the post entry page HTML code can not be written in a way ordinary. For example if you write code <head>, then the page posts will not show the code. Or if there is any writing that appears, then its shape even so unpalatable. So how do I write?

Apparently there is the formula. Some HTML code often used and the way the writing is as follows:

1. Code < written &lt;
2. Code > written &gt;
3. Code & written &amp;
4. Code " written &quot;
5. Code
space written with &nbsp;

Now how do I apply? For example you want to display the code put it like this then you must write <span class="fullpost"> then you must write &lt;span class=&quot;fullpost&quot;&gt; It should be noted for writing in it remains written in the normal way. Which changed only the code, that is the sign < > & " and one more if there are spaces.

That is just an example of writing a short HTML code. What if their HTML code to one line, 3 lines or perhaps some paragaraf? Do not bother? Yes indeed. But if you include people who are lazy (like me) and want a more practical way can too. Open centricle.com site. There is provided a column to turn the HTML code that you want. It looks like this:



Type their HTML code in that column in the normal way, or copy and paste directly from the draft that already exist in your office programs. Then click Encode to change it, then in an instant your HTML code will be transformed to be like below. Next you just copy and paste the code into your post entry page.




For the record if there is doubt whether the writing HTML code was already correct and you want to fix it, then you can return it to its original shape, with the click Decode. Likewise. You can come back again has created with the click Encode. And so on. If you want to linger, you can go back and forth on how you want.

Good luck!


source

2 comments:

  1. Keep up the fantastic work , I read few articles on this site and I conceive that your site is very interesting and has lots of fantastic info .

    ReplyDelete

Thank you for visiting our blog and willing to comment, because your comments are very useful to us. But if you spam, we are sorry because we will remove .....