@@ -1242,7 +1242,7 @@ For example, <code><section></code> should be wrapped as inline.
...
@@ -1242,7 +1242,7 @@ For example, <code><section></code> should be wrapped as inline.
<h2id="forms-example">Basic example</h2>
<h2id="forms-example">Basic example</h2>
<p>Individual form controls automatically receive some global styling. All textual <code><input></code>, <code><textarea></code>, and <code><select></code> elements with <code>.form-control</code> are set to <code>width: 100%;</code> by default. Wrap labels and controls in <code>.form-group</code> for optimum spacing.</p>
<p>Individual form controls automatically receive some global styling. All textual <code><input></code>, <code><textarea></code>, and <code><select></code> elements with <code>.form-control</code> are set to <code>width: 100%;</code> by default. Wrap labels and controls in <code>.form-group</code> for optimum spacing.</p>
<formclass="bs-example">
<formclass="bs-example"role="form">
<fieldset>
<fieldset>
<legend>Legend</legend>
<legend>Legend</legend>
<divclass="form-group">
<divclass="form-group">
...
@@ -1267,7 +1267,7 @@ For example, <code><section></code> should be wrapped as inline.
...
@@ -1267,7 +1267,7 @@ For example, <code><section></code> should be wrapped as inline.
</fieldset>
</fieldset>
</form><!-- /example -->
</form><!-- /example -->
{% highlight html %}
{% highlight html %}
<form>
<formrole="form">
<fieldset>
<fieldset>
<legend>Legend</legend>
<legend>Legend</legend>
<divclass="form-group">
<divclass="form-group">
...
@@ -1304,7 +1304,7 @@ For example, <code><section></code> should be wrapped as inline.
...
@@ -1304,7 +1304,7 @@ For example, <code><section></code> should be wrapped as inline.
<h4>Always add labels</h4>
<h4>Always add labels</h4>
<p>Screen readers will have trouble with your forms if you don't include a label for every input. For these inline forms, you can hide the labels using the <code>.sr-only</code> class.</p>
<p>Screen readers will have trouble with your forms if you don't include a label for every input. For these inline forms, you can hide the labels using the <code>.sr-only</code> class.</p>