Wednesday, 28 August 2013

HTML Tag - Forms

<form>
This
tag is used to create a HTML form for user input.
<input>
This
tag specifies an input field where the user can enter data.
<textarea>
This
tag defines a multi-line input control.
<select>
This
tag is used to create a drop-down list.
<option>
This
tag defines a option in a select list.
<optgroup>
This
tag is used to group related options in a drop-down list.
<button>

This
tag defines a clickable button.
<label>

This
tag defines a label for an input element.
<fieldset>

This
tag is used to group related elements in a form.
<legend>

This
tag defines a caption foe the <fieldset> element.
 
<html>
<body>
First name:
Last name:



Personal Details: User Name:
Email:
Date of birth:
</body> </html>

No comments:

Post a Comment