Tutorial by Examples

Form controls have some default styling without using any special classes. However labels and controls can be wrapped in .form-group tags for optimum spacing. <form> <div class="form-group"> <label for="input-email">Email address</label> &lt...
Add the readonly attribute to prevent user input. A readonly field can't be edited <input class="form-control" type="text" placeholder="Readonly input here…" readonly> Add the disabled attribute to disable an input field. A disbled field can't be edited either...

Page 1 of 1