Home
Basics
Colors
Forms

If you have any questions about building your website Email me Here and I will Get back to you as soon as I can.
Sign Up For Free a Email Address!

Or If You Already Have an Email
address @LearntoHTML you can log in
Here

Get a Free E-mail Address
Get ZZN


Forms

Commands
To Place any kind of Form you need the :


<Form Method="Post"action="mailto:YOUREMAILADDRESSHERE">
Command After you place that on your page you can put the different elementes of a form. Elements of a Form
In a form you can place a text box,text area,check box,a radio button, and a dropdown list.

The Text Box

This is a box you let a user fill in to get thier email address or name or anything that can fit in 1 line. For example look at the one below:


<Input type="text" Name="name" Value="Your Name Here" Size="35">

The Input Type= command tells the computer a form item is being placed on the page and tells the computer what kind of item it is.
The Name = command names the Form item. This is imortant because when the email arrives to your textbox it comes up name="whatever they put" so for it to make sense you have to name it.
Value= is what is in the Text box already before they change it.
Size= controls the size in pixels you can make it whatever you want .

Text Area
The Text Area is similar to the text box except you can write as many lines as you want and this is good for comments or suggestions.


<textarea name="comments" rows= 6 cols= 40></Textarea>

TextArea Name= tells the browser that a text area is coming up and names it
Rows tells the # of Rows
Cols tells the # of columns

The Check Box


Those are check boxes. You can check as many as you want. the code for a check box is
<input type="checkbox" Name="Favorite color" value="red">

Radio Buttons

A radio Button looks like this:
Radio Buttons are like checkboxes except you can click only one at a time. The code is exactly the same except you put "radio" instead of check box in the input type command.


<input type="radio" Name="Favorite color" value="green">
DropDownMenus


<select name="favorite_color" size="1"> <option selected>Blue <option>Red <option>Yellow <option>Green <option>Black <option>Orange <option>Purple</Select>

This may look more dificult but it isn't look at it. Select tells the computer another form is going here. This time it's a SELECT or Pop-Up form.

Option denotes another choice that will be visible when you click on the item.
/Select finishes off the entire thing.

Lastly you have to put the Submit and Reset Buttons. These are the easiest.
<INPUT TYPE="Submit"><INPUT TYPE="reset">
Now you know everything you need to know to make a great Forms Page.