Inserting a Horizontal Line

Because the first few fields you've entered deal solely with collecting contact information, you will enter a horizontal line to separate it from the rest of the form.

Return to the contestform.html file in your text editor. Directly above the </TABLE> tag, insert the following lines (indenting as needed):


Save your changes and then reload the file in your browser, There should now be a horizontal line below the Country field.

Before going on to other tasks, test the registration form by entering some text values in it. To move from one input box to the next, you press the Tab key. To move to the previous input box, press the Tab key while holding down the Shift key. Pressing the Enter key will submit the form, but because you have not created a Submit button for the form yet, pressing the enter key will do nothing at this point.