CHAPTER 2
ASP.NET Web Forms
In this chapter, I will demonstrate some of the new input types defined by HTML5 and show you how to use these in an ASP.NET web form. Typically, the TextBox control is used when data needs to be entered on a form. Users can enter all kinds of data in a TextBox including strings, numbers, dates, and so on. To ensure valid data, the form needs to supply either server-side or client-side validation logic. The HTML5 specification provides several new input types that can do much of this for you and implement a better customer experience.
The following input types are defined (however, not all browsers support all of them ...
Get Pro HTML5 with Visual Studio 2015 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.