Reindent lines and remove unneccesary whitelines

This commit tries to unify the appearance of the html code.
Lines are indented to make the different layers more visible.
Long lines are split up.

This revealed a few typos (e.g. "/" forgotten in closing tag) which are
also fixed.