Add html validation and fix linter errors.