Added type attribute to HTML dialect constants