When an ASP.NET TextBox renders it produces:
However I need it to render as a HTML5 number type instead, like
I was able to do this with a dynamically created control like this:
TextBox control = new TextBox(); control.Attributes.Add("Type", "number");