Chapter 4
Building Web Forms
IN THIS CHAPTER
Adding a button or two
Inserting text boxes and text areas
Adding checkboxes and radio buttons
Working with lists and labels
Putting a picker on your page
HTML offers a mechanism for turning a just-sitting-there web page into an interactive one: a web form. In this chapter, you explore all that web forms have to offer. After mastering the basics, you investigate the amazing features offered by HTML web forms, which can include not only standard knickknacks such as buttons, text boxes, and lists, but also more advanced controls for selecting things like dates and colors. It’s a veritable forms smorgasbord, so get ready to tuck in!
What the Heck Is a Web Form?
A form is essentially the web page equivalent of a dialog box. It’s a page section populated with text boxes, lists, checkboxes, command buttons, and other controls to get information from the user.
A web form is a little data-gathering machine. What kinds of data can it gather? ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access