How do I change the style of an HTML form button?
How do I change the style of an HTML form button?
Share
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Aviance School is one of the largest web solutions platform in India for developers to learn and share their programming knowledge and build their careers.
<!DOCTYPE html>
<html>
<head>
<style>
.button {
background-color: #f44336;
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
}
</style>
</head>
<body>
<h2>HTML Buttons</h2>
<button>Default Button</button>
<a href="#" class="button">CLICK HERE</a>
<button class="button">CLICK ME</button>
<input type="button" class="button" value="CLICK ME">
</body>
</html>