Create this simple form example in HTML - HTML CSS CSS Form

HTML CSS examples for CSS Form:Form

Description

Create this simple form example in HTML

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">
li<!--from ww w.  j ava 2  s  . c o m-->
 {
   border-bottom:3px solid Chartreuse;
   width:251px;
}

label
 {
   background:white;
   position:relative;
   bottom:-7px;
   bakcground:white;
   padding-right:6px;
}
</style> 
 </head> 
 <body> 
  <ul> 
   <li> <label>Lorem</label> </li> 
   <li> <label>Lorem ip</label> </li> 
   <li> <label>Lorem</label> </li> 
   <li> <label>Lorem </label> </li> 
   <li> <label>Lore</label> </li> 
  </ul>  
 </body>
</html>

Related Tutorials