NeedSpot.in
Everything You Need is Here :)
Home
HTML
CSS
JavaScript
General Knowledge
Menu
Home
Why Learn HTML?
How to Run the code in HTML?
Elements of HTML
Headings & Paragraphs of HTML
Text Formatting of HTML
<br> & <hr> tag of HTML
How to Comments?
Attributes of HTML
Relative vs Absolute path in HTML
Block level And Inline Elements of HTML
Class & Id Attribute of HTML
List of HTML
Table of HTML ‒Part‒1‒ Table | Example
Table of HTML ‒Part‒2‒ colspan and rowspan
Form Element of HTML ‒Part‒1‒
Form Element of HTML ‒Part‒2‒
Form Element of HTML ‒Part‒3‒
Iframe of HTML
Multimedia of HTML : Audio | Video
The html form element is used to create an HTML form for user input:
<form> ... form elements ... <form>
The <form> element is a container for a variety of input elements, such as: text fields, checkboxes, radio buttons, submit buttons, etc.
HTML <Input> tag
The <Input> tag specifies an input field where the user can enter data.
The <Input> element is the most important form element.
The <Input> element can be displayed in several ways, depending on the type attribute.
Different input types are bellow:
<
Input type
=
"text" (Defualt Value)>
<
Input type
=
"button">
<
Input type
=
"submit">
<
Input type
=
"checkbox">
<
Input type
=
"color">
<
Input type
=
"email">
<
Input type
=
"file">
<
Input type
=
"hidden">
<
Input type
=
"image">
<
Input type
=
"number">
<
Input type
=
"password">
<
Input type
=
"radio">
<
Input type
=
"range">
<
Input type
=
"url">
<
Input type
=
"reset">
<
Input type
=
"search">
<
Input type
=
"date">
<
Input type
=
"time">
<
Input type
=
"week">
<
Input type
=
"month">
Form with All Input Types
Text:
Password:
Email:
Telephone:
URL:
Number:
Date:
Time:
Color:
Range:
Checkbox:
Radio:
Option 1
Option 2
File: