the html building functions are generated from mozillas documentation
and the kotlin DSL will not allow you to accidentally mix things up too badly (eg. put properties in tags that cannot have them), all that is enforced during compilation of the code, as much as the typesystem allows for at the very least