© Risto Viita/Shutterstock


Getting User Input with Forms

ACROSS THE WEB, SITES make extensive use of forms to prompt users for information. One form might ask for a login username and password. Another form may prompt users for registration information or a credit card. Some may request search text.

Learning Objectives

This chapter examines the steps you must perform to create a form within an HTML page. By the time you finish this chapter, you will understand the following key concepts:

   How to use the <form> and </form> tag pair to create a simple form

   How to direct a form to submit data

   How to integrate content within an ...

Get Introduction to Web Development Using HTML 5 now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.