Hour 18Gathering Information with HTML Forms
Up to this point, pretty much everything in this book has focused on getting information out to others. (Email links, introduced in Hour 6, “Creating Text Links,” are a notable exception.) But HTML is a two-way street; you can use your web pages to gather information from the people who read them as well.
Web forms allow you to receive feedback, orders, or other information from the people who visit and read your web pages. If you’ve ever used a web search engine such as Google, Lycos, or Yahoo!, you’re familiar with HTML forms. Product order forms are also an extremely popular use of forms. This lesson shows you how to create your own forms and the basics of how to handle form submissions.
Get Sams Teach Yourself HTML and CSS in 24 Hours, 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.