HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
HTML <input> tag : An HTML form with initial (default) values
The value
attribute specifies the value of an
<input>
element.
The value
attribute is used differently for different input types:
value
attribute cannot be used with
<input type="file">
.
The numbers in the table specify the first browser version that fully supports the attribute.
Attribute | |||||
---|---|---|---|---|---|
value | Yes | Yes | Yes | Yes | Yes |
Value | Description |
---|---|
text | Specifies the value of the <input> element |
❮ HTML <input> tag