Chapter 6. HTML 3: Forms

Table of Contents

Introduction
Introduction to Forms
Form Elements
Processing Forms
Writing Forms
Starting a Form
Single-line Text Entry
Multi-line Text Entry
Radio Buttons
Check Boxes
Menu Buttons and Scrolling Lists
Submit and Reset Buttons
Using Forms
Additional Content and Activities
Supplementary information on HTML forms
Additional Activity — Tabular Layout of a Complex Form
Review Questions
Discussions and Answers
Discussion of Activity 1
Discussion of Activity 2
Discussion of Activity 3
Discussion of Activity 4
Discussion of Activity 5
Discussion of Activity 6
Discussion of Activity 7
Discussion of Activity 9
Discussion of Additional Activity
Answer to Review Question 1
Answer to Review Question 2
Answer to Review Question 3
Answer to Review Question 4
Answer to Review Question 5
Answer to Review Question 6
Answer to Review Question 7
Answer to Review Question 8
Answer to Exercise 1
Answer to Exercise 2
Answer to Exercise 3

Introduction

Forms are best learnt using a hands on approach. To become proficient with HTML forms you need to create many, sorting out the problematic nuances as you go along. Therefore, the main content of the unit is a series of sections: the first is a short introduction to HTML forms; the second discusses each form element, and involves some textbook study. (You may find it more convenient to postpone activities until you have covered all the form elements.)