
Forms
Of the 4 codes tought in the advanced html section. Forms is the hardest one. I included the form for codes in but you will need a server or learn cgi to have the form go somewhere. One of the pages talks about how you can get results sent to you.
Here is the source code. All notes are written inside of <!-- notes here --> as normal html comments are written.
<FORM method="post" action="the address of the server">
<!-- Form type=post is a kind of transfer method. Action= says where the form's information will be sent to. -->
Name
<!-- The word Name will be shown. -->
<INPUT TYPE="TEXT" NAME="viewers name">
<!-- A 1 line text field will be shown. You can say <INPUT TYPE="Text,Submit,Radio, Reset, or Password> Name="viewers name" is the name of the individual element of the form. If you have form results emailed to you, the name is critical. If you don't put a name, you won' be able to tell the difference between someones age and apartment #! If you use a radio box name is also crucial. The point of a radio box is so only one of the choices is selected (unlike a checkbox). To do this, you have to have the name of each radio element be the same.
I.E.Did you like this page?
Yes<INPUT TYPE="Radio" NAME="radio1">
No<INPUT TYPE="Radio" NAME="radio1"> -->
Comments
<TEXTAREA></TEXTAREA>
<!-- A test area was created. -->
<SELECT>
<OPTION> Yankees
<OPTION>Knicks
<OPTION>Giants
</SELECT>
<!-- A drop down box was created. The option tag is somewhat like a list. Anything you put after the option tag will be an option for the viewer to select. </SELECT> ends the drop down box. -->
</FORM>
<!--This ends the form. -->