aboutsummaryrefslogtreecommitdiff
path: root/docs/css.html
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-06-19 19:02:24 -0700
committerMark Otto <[email protected]>2013-06-19 19:02:29 -0700
commit5fcdf1229d1845ce9e115b0e6390610b702a3335 (patch)
tree03fc7702150af9995bdf80130f4076041920a965 /docs/css.html
parentbadececcdf028330166fcc81903545def938e721 (diff)
downloadbootstrap-5fcdf1229d1845ce9e115b0e6390610b702a3335.tar.xz
bootstrap-5fcdf1229d1845ce9e115b0e6390610b702a3335.zip
Fixes #8001: add IDs for example inputs
Diffstat (limited to 'docs/css.html')
-rw-r--r--docs/css.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/css.html b/docs/css.html
index 137f2a9e8..d4e7f77d2 100644
--- a/docs/css.html
+++ b/docs/css.html
@@ -1130,8 +1130,8 @@ For example, <code>&lt;section&gt;</code> should be wrapped as inline.
<form class="bs-example">
<fieldset>
<legend>Legend</legend>
- <label>Label name</label>
- <input type="text" placeholder="Type something…">
+ <label for="exampleInput">Label name</label>
+ <input type="text" id="exampleInput" placeholder="Type something…">
<p class="help-block">Example block-level help text here.</p>
<div class="checkbox">
<label>
@@ -1145,8 +1145,8 @@ For example, <code>&lt;section&gt;</code> should be wrapped as inline.
<form>
<fieldset>
<legend>Legend</legend>
- <label>Label name</label>
- <input type="text" placeholder="Type something…">
+ <label for="exampleInput">Label name</label>
+ <input type="text" id="exampleInput" placeholder="Type something…">
<p class="help-block">Example block-level help text here.</p>
<div class="checkbox">
<label>