Bootstrap Inputs
Bootstrap Input Types
Input type: checkbox
Input type: radio button
Bootstrap Checkbox
Checkbox facilitates you to select any number of options from a list of present options.
See this example:
Use the .checkbox-inline class if you want the checkboxes to appear on the same line:
See this example:
Bootstrap Radio Buttons
Radio buttons also facilitates you to select any number of options from a list of present options.
See this example:
Use the .radio-inline class if you want the radio buttons to appear on the same line:
See this example:
Bootstrap 4 Inputs
Bootstrap 4 supports following types of form controls:
- input
- textarea
- checkbox
- radio
- select
Bootstrap Input
Bootstrap supports all the HTML5 input types: text, password, datetime, datetime-local, date, month, time, week, number, email, url, search, tel, and color.
Note: Inputs will NOT be fully styled if their type is not properly declared!
Example:
Bootstrap Textarea
Use textarea with "form-control" to create a Bootstrap textarea.
Example:
Bootstrap Select List
Bootstrap Select List is used to select single or multiple list. Select list is used if you want to allow the user to pick form multiple options.