How to solve Your HTML cannot be accepted: Tag is not closed: DIV on blogger

I have experienced this issue on my blogger blog. Anytime I try to post an article with code contents, it always give me that error reply. And when I ignore it and publish that post, the codes and scripts in the article will not show in the post.
You too may have experienced
this issue. Well don't be alarmed, you can solve this issue with this easy way am going to show you..

» Create the post you want to publish that shows that error.
» Click HTML
» Now check if your div tag is not closed
For example if your div tag is like this

<Div>
<code></code>
<code></code>
<etc></etc>

You will have to add </div> at the end of the code. Like this

<Div>
<code></code>
<code></code>
<etc></etc>
</div>

That is, you have to end the starting tag with a closing tag...

» Now go back to “Compose” and publish your post.

I hope this helps..drop your comments