Create input type="button" with two lines of text - HTML CSS CSS Form

HTML CSS examples for CSS Form:input button

Description

Create input type="button" with two lines of text

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">

input{<!--   w w  w  .  j  ava2  s  . c om-->
   white-space: normal;
   width: 110px;
}


      </style> 
 </head> 
 <body> 
  <input type="button" value="Text1&nbsp;Text2&nbsp;Text3 Text4">  
 </body>
</html>

Related Tutorials