Parse HTML
This online parser Tool will convert your any HTML code into XML which are compatible to latest blogger templates.
However, if anything you add Blogger Template gives an error, more likely than not putting it through the parser would solve the problem.