Hour 5. Creating HTML Forms

HTML forms are used to build the interfaces for Web applications. The forms are created using tags which place various input fields on a Web page. Whether you’re creating a pull-down menu of links to provide navigation options for your users, or building a multiple step checkout process for an online store, the HTML form tags provide the only interface elements you’ll have access to, other than hyperlinks.

When a form is submitted, all the data entered by the user is sent to the Web server, where it is then passed along to a resource specified in the URL requested. During this hour, you’ll learn how to use HTML forms to build interfaces for your CGI programs. The following topics will be discussed:

  • The <form> tag ...

Get Sams Teach Yourself CGI in 24 Hours, Second 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.