Bootstrap Input element style

Input element style

Inputs will only be fully styled if their type is properly declared.


<!DOCTYPE HTML>
<html> 
<head> 
<link href="http://java2s.com/style/bootstrap.min.css" rel="stylesheet">
</head><!--from   www  .ja  v  a2  s .c  om-->
<body style='margin:20px;'>

<form class="form-horizontal">
<input type="text" class="form-control" placeholder="Text input">
</form>
        
</body>
</html>

Click to view the demo





















Home »
  Bootstrap »
    Bootstrap »




Introduction
Basic HTML Style
List
Table
Form
Layout
Navigation Bar
Button
Control