HTML-Lesson 8-Forms
Forms are a very handy way of getting information from your visitors about something. Forms are text boxes that can be wired with a function. That funtion might be a php script or something as simple as a mailto. This lessons teaches some of the basics of form making.
To make a form on your webpage you first need to define it by using the<form> Tags. Next you have to make some text boxes or text areas.
For text boxes use the code:
<input name="???">
This creates a small textbox like the ones in young designs join us page. At the moment this box dosent do anything as it isnt wired.
Next make a button:
<input type="submit" value="send now">
Now you have a send now button which again dosn't do anything as it is not wired up. Note: if you wish to have something else instead of send now on the button just change the buttons value tag.
Now all thats left to do is wire the form up to do this add this code to the top form tag. So use this code in the form tag:
<form method="post"
action="mailto:you@you.com">
Now you have a form that sends the entered information to you. As many text areas as you wish can be added but it is up to you. There is also other things such as textareas, radio buttons and dropdown lists.
Lesson 7-frames