Making an HTML forms is not an easy task. It needs patience to make a perfect HTML forms.
According to www.w3school.com :
"HTML forms are used to pass data to a server.
A form can contain input elements like text fields, checkboxes, radio-buttons, submit buttons and more. A form can also contain select lists, textarea, fieldset, legend, and label elements."
An input element is essential in making forms, because it vary in the attribute that you enter/chose in establishing a form. One of the input element is the Text Field, it enables the user to enter text within a given space/area. The input tag is like this:
<form>
First name: <input type="text" name="firstname" /><br />
Last name: <input type="text" name="lastname" />
</form>
Another element that i learned from our discussion is the RADIO BUTTONS, this element allows the user to choose only one choice from different choices given, it is like this:
<form>
<input type="radio" name="sex" value="male" /> Male<br />
<input type="radio" name="sex" value="female" /> Female
</form>
There's a lot of input elements but it'll take a long time for me to discuss it all. just visit this website, http://www.w3schools.com/html/html_forms.asp to learn more! :)))
No comments:
Post a Comment