HTML CSS examples for CSS Form:input submit
Use image as submit button
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> button {<!--from ww w . j av a 2 s . c om--> background: none; border: none; cursor: pointer; margin: 0; padding: 0; } </style> </head> <body> <form method="post" action=""> <button type="submit" name="animal" value="pig"> <img src="https://www.java2s.com/style/demo/Google-Chrome.png" alt="Pig"> </button> </form> <script type="text/javascript"> </script> </body> </html>