Forms and Frames

Make a Form

Make a form that includes:

1 the appropriate ACTION in the FORM tag
2 an element that allows the user to type in his or her name
3 an element that allows the user to
either choose one item from a set of options
or choose more than one item from a set of options

Step 1:

Load this page (makeform.html) into your text editor

Step 2:

Replace the lines as specified below. Use the snippets at the bottom of the page to help you.


replace this line with a form tag, including appropriate changes

replace this line with some text instruction for the user and an element to allow the user to type something in

replace this line with some text instruction for the user and an element to allow the user to choose from some options

replace this line with the element needed to cause the form to take action

replace this line with the end-of-form tag


Step 3

Save makeform.html


Step 4

Open the file makeform.html in your browser. You should see your form between the two horizontal lines.

Fill in the form and submit it.

 

Snippets to use in making your form

Start of Form

Text area

Text field

Set of Checkboxes

visible text for first checkbox
visible text for second checkbox
visible text for third checkbox
visible text for fourth checkbox

Set of Radio Buttons

visible text for first radio button
visible text for second radio button
visible text for third radio button
visible text for fourth radio button

Popup Menu

Scrolling Box

Reset button

Submit button

End of Form