RE: How do I change the style of an HTML form button?
Answered
Add Comment
Best answer
<!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>