bootstrap

Supported Form Controls

Supported Form Controls

The most popular form controls supported by Bootstrap are input, textarea, checkbox, radio, and select.

Inputs:

The input field is the most frequent form text field. This is where users will fill out the majority of the form's required information. All native HTML5 input types are supported by Bootstrap, including text, password, datetime, datetime-local, date, month, time, week, number, email, url, search, tel, and colour. To make Inputs properly stylized, proper type declaration is required.

<form role = "form">
       <divclass = "form-group">
                <label for = "name">Label</label>
               <input type = "text" class = "form-control" placeholder = "Text input">
        </div>
  </form>