W017 - Herst/bootlint-ng GitHub Wiki
Note: Below is the original page from the Bootlint documentation, some of the info here might not apply to Bootlint-NG!
It's best-practice to always set an explicit type
on <input>
s. If an <input>
lacks a type
attribute, it defaults to being a type="text"
.
Bootstrap will only fully style <input>
s which have a valid type
attribute.
Wrong:
<input value="Something">
Right:
<input type="text" value="Something">