fix some styles in html.

The main issue was the missing space before the attribute. The
rest is just for less important general improvement of the
formatting.