There’s nothing significantly new here. The document still uses the same basic syntax for an HTML page as in the previous chapter. An HTML comment indicates the file’s name and number. 2. Add the initial form tag. php extension (since a PHP page will handle this form’s data). 3. Begin the HTML form. DOCTYPE html PUBLIC “-//W3C//6 12 1. 1). dtd”> 4 10 To create an HTML form: Chapter 2 I’m using the fieldset and legend HTML tags because I like the way they make the HTML form look (they add a box around the form with a title at top).
8. Complete the form.
The first tag closes the fieldset that was opened in Step 3. Then a submit button is created and centered using a div tag. Finally the form is closed. 5 The complete form, which requests some basic information from the user. 9. Complete the HTML page.