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? ...
Get HTML & CSS Essentials For Dummies 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.