Friday, 6 April 2012

HTML in post body may alter with your template

| Friday, April 06, 2012 | |

If you are trying to set up a blogger for discussing HTML, providing and HTML code or snippet. Then there is one thing you should remember.

When ever you publish a post with these codes, then it is all a natural thing that they may deform your blogger template. And mostly it happens.

The Easy Solution

Instead of directly putting the codes. Place them in quotes not the one in your keyboard but the one at the top in your editor.

Doing Manually

To stop your codes from being executed by your browser all you need to do is replace your greater than, less than, symbols with their respective ASCII characters. But who wants to do it manually.

Using tool

You can use a tool called the HTMLEscape tool. What it does is it changes the symbols to ASCII characters.
Related Posts with Thumbnails

No comments:

Post a Comment