16. Forms

In This Chapter

Creating Forms

Processing Forms

Sending Form Data via Email

Organizing the Form Elements

Creating Text Boxes

Creating Password Boxes

Creating Email, Telephone, and URL Boxes

Labeling Form Parts

Creating Radio Buttons

Creating Select Boxes

Creating Checkboxes

Creating Text Areas

Allowing Visitors to Upload Files

Creating Hidden Fields

Creating a Submit Button

Using an Image to Submit a Form

Disabling Form Elements

New HTML5 Features and Browser Support

Until now, all the HTML you have learned has helped you communicate your ideas to your visitors. In this chapter, you’ll learn how to create forms that enable your visitors to communicate with you.

There are two basic parts of a form: the collection of fields, labels, and ...

Get HTML5 and CSS3: Visual QuickStart Guide, Seventh Edition 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.