HTML form

From Htmlpedia
Jump to: navigation, search

HTML Element FORM

Definition and Usage

A fill-in form that will be processed by a HTTP server. Most forms will include either an <input> tag, a <select> tag or both.


Examples

<form method="POST" action="formsubmit.php">
<p>
<input type="text" name="exampletextbox" value="" />
<input type="submit" value="Submit" />
</p>
</form>

Attributes

Optional attributes

None

Standard Attributes

id, class, title, style, dir, lang

Event Attributes

onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown, onkeyup, onsubmit


References


Back to HTML Elements