Update template.html

Add a meta charset in case servers don’t send the "Content-Type:text/html; charset=utf-8" response header.
Improve HTML semantics and refactor CSS to achieve the same layout more simply.
Ensure HTML and CSS follows Google’s HTML/CSS Style Guide recommendations.