type="text
type="email
type="password
type="number
type="search
type="url
type="tel
type="file
type="datetime-local
type="date
type="time
type="week
type="month
type="range
type="color
placeholder="name
readonly
disabled
.form-control-plaintext
value="name
minLength="name
maxLength="name
.form-text
textarea
select
multiple
.form-control-md
.form-control-sm
.form-control-lg
.col-sm-4
<input type="range">
controls with .custom-range
. The track (the background) and thumb (the value) are both styled to appear the same across browsers.min
and max
—0
and 100
, respectively. You may specify new values for those using the min
and max
attributes.step
value. In the example below, we double the number of steps by using step="0.5"
..form-check
.<div>
with a sibling <span>
to create our custom control and a <label>
for the accompanying text. Structurally, this is the same approach as our default .form-check
..form-check-inline
to any .form-check
..custom-control-inline
..form-check
.<div>
with a sibling <span>
to create our custom control and a <label>
for the accompanying text. Structurally, this is the same approach as our default .form-check
..form-check-inline
to any .form-check
..custom-control-inline
..custom-switch
class to render a toggle switch. Switches also support the disabled
attribute.