Blogspot does not include a way to post HTML code automatically, so you must escape
your normal HTML code in order to display it properly in a Blogger blog post.
You can find the same problem in every HTML page.
This tool escape HTML code to help you post example code into your posts or html pages.
Copy and paste the HTML code you wish to include in a post into the text area and hit Escape! Then copy the escaped code and paste it into your blog post, in order to preserve formatting enclose the escaped HTML within <pre></pre> tags.