Toggle navigation
Bootsnipp
Bootstrap
For
CSS Frameworks
Bootstrap
Foundation
Semantic UI
Materialize
Pure
Bulma
References
CSS Reference
Tools
Community
Page Builder
Form Builder
Button Builder
Icon Search
Dan's Tools
Diff / Merge
Color Picker
Keyword Tool
Web Fonts
.htaccess Generator
Favicon Generator
Site Speed Test
Snippets
Featured
Tags
By Bootstrap Version
4.1.1
4.0.0
3.3.0
3.2.0
3.1.0
3.0.3
3.0.1
3.0.0
2.3.2
Register
Login
"personal ditails"
Bootstrap 3.3.0 Snippet by
napsterbd
3.3.0
Preview
HTML
CSS
View Full Screen
Forked from
Fork
Fork this
Parent
1.5K
 
0 Fav
Post to Facebook
Tweet this
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <form class="form-horizontal"> <fieldset> <!-- Form Name --> <legend>Personal details</legend> <!-- Text input--> <div class="form-group required"> <label class="col-md-4 control-label" for="textinput">First Name</label> <div class="col-md-4"> <input id="textinput" name="textinput" type="text" placeholder="" class="form-control input-md"> </div> </div> <!-- Text input--> <div class="form-group required"> <label class="col-md-4 control-label" for="textinput">Last Name</label> <div class="col-md-4"> <input id="textinput" name="textinput" type="text" placeholder="" class="form-control input-md"> </div> </div> <!-- Multiple Radios (inline) --> <div class="form-group required"> <label class="col-md-4 control-label" for="radios">Gender</label> <div class="col-md-4"> <label class="radio-inline" for="radios-0"> <input type="radio" name="radios" id="radios-0" value="Male" checked="checked"> Male </label> <label class="radio-inline" for="radios-1"> <input type="radio" name="radios" id="radios-1" value="Female"> Female </label> </div> </div> <!-- Select Basic --> <div class="form-group required"> <label class="control-label col-md-4" for="registration-date">Date of birth:</label> <div class="col-md-4"> <div class="input-group registration-date-time"> <span class="input-group-addon" id="basic-addon1"><span class="glyphicon glyphicon-calendar" aria-hidden="true"></span></span> <input class="form-control" name="registration_date" id="registration-date" type="date"> </div> </div> </div> <!-- Text input--> <div class="form-group required"> <label class="col-md-4 control-label" for="textinput">City</label> <div class="col-md-4"> <input id="textinput" name="textinput" type="text" placeholder="" class="form-control input-md"> </div> </div> <!-- Textarea --> <div class="form-group required"> <label class="col-md-4 control-label" for="textarea">Present address</label> <div class="col-md-4"> <textarea class="form-control" id="textarea" name="textarea"></textarea> </div> </div> <!-- Text input--> <div class="form-group required"> <label class="col-md-4 control-label" for="textinput">Mobile</label> <div class="col-md-4"> <input id="textinput" name="textinput" type="text" placeholder="" class="form-control input-md"> </div> </div> <!-- Button --> <div class="form-group"> <label class="col-md-4 control-label" for="singlebutton"></label> <div class="col-md-4"> <button id="singlebutton" name="singlebutton" class="btn btn-primary">Save</button> </div> </div> </fieldset> </form>
.form-group.required .control-label:after { content:"*"; color:red; }
Related:
See More
Free Template
Argon Design System
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76