CHAPTER 9

Creating Forms

Looking for a way to allow your website visitors to communicate with you? This chapter shows you how to build forms that gather information from users and send it to web servers for processing. You can build forms that allow users to send feedback about a site or buy products by submitting credit card information. To create a form, you can use a variety of input fields, including text fields, check boxes, drop-down menus, and radio buttons. The sections in this chapter describe how to add these fields and when to use them.

image

Understanding Forms

Types of Form Elements

Create a Form

Send Form Data to an E-Mail Address

Add ...

Get Teach Yourself Visually™ HTML5 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.