Skip to main content

Form Mastery

  • Chapter
  • 816 Accesses


In Chapter 2 we took a glance at what is new in web forms. Now it is time to turn our attention to them in more depth. Well, let’s be honest, if that was said with excitement in many circles, even web-related ones, it may well be met with chuckles over the absurdity of getting excited over web forms. In the past, forms have been relegated to a unpleasant corner of web development, the domain of those interested in the finicky nit-picking of radio button groups, text input widths, and option-laden drop-down menus. Where’s the sexy design and rich interactivity? But perhaps more importantly, where are all the form input types that should be there that instead needed to be hacked together using JavaScript? Form markup has been with us for many years, appearing at least as early as the HTML 2 specification, and has not changed in any remarkable way since then. It will be a relief to know then that in HTML5 the light has been cast on them, and they have grown into a capable set of input-handling HTML. Added are a capable new set of form input types, form elements, and attributes, as well as new methods for interfacing with JavaScript and CSS. With HTML5 a lot of functionality that had to be built in other ways is now given for free. Now that is exciting!


  • Server Side
  • Input Element
  • Input Field
  • Input Type
  • Radio Button

These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

This is a preview of subscription content, access via your institution.

Buying options

USD   6.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   39.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


Rights and permissions

Reprints and Permissions

Copyright information

© 2011 Anselm Bradford and Paul Haine

About this chapter

Cite this chapter

Bradford, A., Haine, P. (2011). Form Mastery. In: HTML5 Mastery: Semantics, Standards, and Styling. Apress.

Download citation