In This Chapter
How forms work
Elements for adding form widgets
Making forms accessible
Form design basics
It didn’t take long for the web to shift from a network of pages to read to a place where you go to get things done—making purchases, booking plane tickets, signing petitions, searching a site, posting a tweet…the list goes on! Web forms handle all of these interactions.
This chapter introduces web forms, how they work, and the markup used to create them. I’ll also briefly discuss the importance of web form design.
There are two parts to a working form. The first part is the form that you see on the page itself that is created using HTML markup. Forms are made up of buttons, input fields, and drop-down menus (collectively known as form controls) used to collect information from the user. Forms may also contain text and ...