Font awesome icons in html form - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Font awesome

Description

Font awesome icons in html form

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <link rel="stylesheet" type="text/css" href="http://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css"> 
 </head> <!--from   w w  w  .j a  va2  s  . c o  m-->
 <body> 
  <form> 
   <label for="user">Lorem ipsu<i class="fa fa-camera-retro"></i> </label> 
   <input type="text" name="user" placeholder="Username"> 
   <label for="pass">Lorem ipsu<i class="fa fa-futbol-o"></i> </label> 
   <input type="password" name="password" placeholder="Password"> 
  </form>  
 </body>
</html>

Related Tutorials