Typesafe html attributes
Typesafe inline style for html tags
Fix minor issues found during review
Redundant (and actually failed) assert removed