Create an image button - HTML CSS CSS Form

HTML CSS examples for CSS Form:input image button

Description

Create an image button

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <style id="compiled-css" type="text/css">

#button{<!--from www.  ja v  a2 s . co  m-->
   text-indent: -999999px;
   display: inline-block;
   background: url('https://www.java2s.com/style/demo/Safari.png') 0 0 transparent no-repeat;
   width: 275px;
   height: 95px;
}


      </style> 
 </head> 
 <body> 
  <title>Every page should have a title</title> 
  <a href="#" title="Write here what benefits user will take clicking on the button" id="button">click me i'm button</a>  
 </body>
</html>

Related Tutorials