HTML

HTML Projects

HTML Project

Html Forms
Previous Home Next
adplus-dvertising

HTML FORM is use to simply interaction between a user and web site or application. Most of website users can send the data to web server, then web page can interacted to both.

An HTML FORM is arrange the html document such that contains and controls as text fields , password fields, checkboxes, radio buttons, submit button, menus and other required element. A form is contains an area and form fields.In the form field is used data enter by user like as : Text boxes, drop-down menu or buttons.

Syntax used

<form >...</form >
Some important points of HTML FORMS

HTML FORMS are need for you want to collect some data from of the site visitor. A user can purchase any required items through internet then he/she fill the application form of website( flipchart/amazons etc) like as, address and credit/debit details due to sent the items to user.

HTML FORM Tags

TagsDescription
<form>It is provide an HTML form for user input
<input>It is provide an input control
<textarea>It is provide a multiline input control (text area)
<button>It is providea clickable button
<select>It is provide a drop-down list
<optgroup>It is provide a group of related options in a drop-down list
<option>It is provide an option in a drop-down list
<label>It is provide a label for an <input> element
<fieldset>Groups related elements in a form
<legend>It is provide a caption for a <fieldset> element

Description of HTML 5 with FORMS tags

TagsDescription
<datalist>It is provide a list of pre-defined options for input controls
<keygen>It is provide a key-pair generator field (for forms)
<output>It is provide the output

Example

<!DOCTYPE html>
<html>
<head>
<title>Text Input Control</title>
</head>
<body>
<form >
First name:  <input type="text" name="first_name" />
<br>
Last name:  <input type="text" name="last_name" />
</form>
</body>
</html>

Output :

Supporting Browsers
Previous Home Next