0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 09:52:29 +01:00

fixes #22244 by providing more specific guidance on input types

This commit is contained in:
Mark Otto 2017-04-16 14:51:27 -07:00
parent 570efe1df6
commit b21b83b7ea

View File

@ -16,7 +16,7 @@ Bootstrap provides several form control styles, layout options, and custom compo
Bootstrap's form controls expand on [our Rebooted form styles]({{ site.baseurl }}/content/reboot/#forms) with classes. Use these classes to opt into their customized displays for a more consistent rendering across browsers and devices. The example form below demonstrates common HTML form elements that receive updated styles from Bootstrap with additional classes.
Remember, since Bootstrap utilizes the HTML5 doctype, **all inputs must have a `type` attribute**.
Be sure to use an appropriate `type` attribute on all inputs (e.g., `email` for email address or `number` for numerical information).
{% example html %}
<form>