Making forms in HTML

Homepage

HTML lessons


Explaining simple tags
Explaining simple tags2
Explaining simple tags3
Browsers and Notepad
Playing with Fonts
Colors and Tags
Learning to Link
Inching through Images
Inching a Bit More with Images
Terrific Tables to Try
Building Borders
Wrapping Text
Terrific Tables Two
Color
Pat's Web Page
Making Lists Long and Short
The Mail Command
Basic Frames
Making Forms
Making More Forms
Making Buttons One
Making Buttons Two
IFrames
Appendix
Building forms is really simple! The following is your simple code for a simple form. Remember that until you add some sort of script, you still have no way of collecting data.
<form>
<select>
<option>Things I always wondered about
<option>Why is the ocean two colors?
<option>Why is the moon bigger on the edge of the sky?
<option>Why do children always ask why?
</select>
</form>
It will produce this:
Here is another sample:
You are not limited to a simple list, if you make good use of your underline key. Here is simple code to produce a different look, as you can see in the next menu.
<form>
<select>
<option>Why do some children pursue excellence?
<option>____________________
<option>Some children
<option>at nine years old
<option>have already figured it out
<option>____________________
<option>Other children will
<option>wait until later in life
<option>to figure it out
<option>like when they are 50.
<option>____________________
<option>Their lifetime motto
<option>will be
<option>Would you like fries with that?
<select>
<form>