+ 2
You can use the <button> tag: <button type="button">Next</button> Attributes: type - submit, button, reset (Choose submit if you want to go to another page using the button.) You can add CSS to it. <!DOCTYPE html> <html> <head> <style> .button { background-color: #4CAF50; border: none; color: white; padding: 15px 25px; text-align: center; font-size: 16px; cursor: pointer; } .button:hover { background-color: green; } </style> </head> <body> <h2>CSS Button</h2> <button>Default Button</button> <button class="button" href="www.google.com">Styled Button</button> </body> </html>
29th Apr 2018, 7:42 AM
Jemuel Stanley
Jemuel Stanley - avatar