Html improvements

Fixes #8785 - add thead to html tables
nitpick: identation