Chapter 10. Adding Interactivity Using Forms

IN THIS CHAPTER

Creating Forms 103

Form Objects 105

Form Validation 110

Summary 111

Sample Questions 112

HTML forms are the primary mechanism for receiving user input on the Web. For example, you can use forms to create search interfaces, provide input interfaces for customer information, or collect survey information.

Creating Forms

An HTML form consists of a container <form> tag with form objects within it that accept user input and allow the user to submit the form.

To create a form and form objects, use the Forms Insert bar or the Insert menu. Start by creating the form itself, which accepts the following four attributes:

• Form Name

• Action

• Method

• Enctype

After you insert a form into Design ...

Get Macromedia Dreamweaver8 Certified Developer Study Guide 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.