XHTML - CCIS1301

Lab 4

In this lab, we will create a simple login form.

Step 1 - Create the form container.

Using your template.html file from homework 2, create a file called "form.html". Using the <form> tag, create a form that posts to the URL "process.html" using the HTTP POST method.

Step 2 - Add the fields

Add an input field with a label of "Username". The name of this field should be "username".

Add a password field with the label of "Password". The name of this field should be "password".

Create a select field with the label of "Section". Give this field the name of "send_to" with the options "My Profile","Favorites", and "My Account".

Add a checkbox field with the label "Remember Me" and the name of "remember" and a value of 1.

Step 3 - Confirmation page

Create a confirmation page named "process.html".

Add some default confirmation text (i.e. thank you for logging in).