What is a form tag?
Basically form tag is an interactive way to submit our information to a website or any other source.
Where do we use form tags?
we use form tags in HTML to create a page where people submit their information.
Basic format of form tag:
Uses of these form tags:
Tag | Description |
<form> | It defines an HTML form to enter inputs by the used side. |
<input> | It defines an input control. |
<textarea> | It defines a multi-line input control. |
<label> | It defines a label for an input element. |
<fieldset> | It groups the related element in a form. |
<legend> | It defines a caption for a <fieldset> element. |
<select> | It defines a drop-down list. |
<optgroup> | It defines a group of related options in a drop-down list. |
<option> | It defines an option in a drop-down list. |
<button> | It defines a clickable button. |