Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.
Chris Rebert edited this page Feb 1, 2016 · 1 revision

W017

Found one or more <input>s missing a type attribute.

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">
Clone this wiki locally