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 <button> tag : Two buttons with equal names, that submit different values when clicked
The value
attribute specifies the initial value for a
<button>
in an HTML form.
Attribute | |||||
---|---|---|---|---|---|
value | Yes | Yes | Yes | Yes | Yes |
<button>
element in an HTML form,
Internet Explorer, prior version 8, will submit the text between the
<button>
and </button>
tags, while the other browsers will submit the content of the
value
attribute.
Value | Description |
---|---|
value | The initial value of the button |
❮ HTML <button> tag