Make a button similar to the span in html - HTML CSS CSS Form

HTML CSS examples for CSS Form:input button style

Description

Make a button similar to the span in html

Demo Code

ResultView the demo in separate window

<html>
 <head></head> 
 <body> 
  <style>

.ButtonSpan {<!--  w ww.java2  s.c o m-->
   border: 1px solid black;
   background: #e0e0e0;
   padding: 25px;
}


      </style> 
  <button type="submit" class="ButtonSpan">test</button> 
  <span class="ButtonSpan">test</span>  
 </body>
</html>

Related Tutorials