Input button tag in Html

Button

It is used for calling the javascript functions. We can perform validation process or send information to server
Its important attributes are size and value
This also include many events to execute the functions eg. onclick, onkeyup etc.


Example:

<!DOCTYPE html>
<html>
<head>
<title>Button</title>
</head>

<body>
<input type="button" value="Click me">
</body>
</html>

Output of this code will look like this: