Articles → HTML → Buttons In HTML
Buttons In HTML
What Is A Button Control?
 
- Which can be clicked
- Performs validations and actions when clicked.
Type Of Buttons
 
- Button
- Submit
- Reset
Button
 
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta charset="utf-8" />
	<title></title>
</head>
<body>
	<form method="get" action="Page1.html">
		<button>Button Example</button>
	</form>
</body>
</html>
Try It
Submit
 
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta charset="utf-8" />
	<title></title>
</head>
<body>
	<form method="get" action="Page1.html">
		<input type="submit" value="Submit Example" /> </form>
</body>
</html>
Try It
Reset
 
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta charset="utf-8" />
	<title></title>
</head>
<body>
	<form method="get" action="Page1.html">
		<input type="text" />
		<input type="reset" value="Reset Example" /> </form>
</body>
</html>
Try It
Browser Support
 
| Internet Explorer | Firefox | Chrome | Safari | Opera | Edge | 
|---|
| Yes | Yes | Yes | Yes | Yes | Yes | 
| Posted By  - | Karan Gupta | 
|  | 
| Posted On  - | Friday, December 16, 2016 | 
|  | 
| Updated On  - | Sunday, December 3, 2017 |