Added a link and changed some text.

This commit is contained in:
Jeff Posnick 2014-11-18 14:34:26 -05:00
Родитель 6f4cedafef
Коммит 1cbd7dbfb5
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -61,14 +61,15 @@ limitations under the License.
<p> <p>
In this particular case, the <code>&lt;form&gt;</code> contains one <code>&lt;input&gt;</code>, In this particular case, the <code>&lt;form&gt;</code> contains one <code>&lt;input&gt;</code>,
with two constraints: <code>required</code>, as well as <code>minlength="4"</code>. with two constraints: <code>required</code>, as well as
<code><a href="https://html.spec.whatwg.org/multipage/forms.html#attr-fe-minlength">minlength</a>="4"</code>.
</p> </p>
<!-- // [START code-block] --> <!-- // [START code-block] -->
<div class="output"> <div class="output">
<form id="sample-form"> <form id="sample-form">
<div> <div>
<label for="year">Current Year (required):</label> <label for="year">Enter at least four characters (required):</label>
<input id="year" type="text" minlength="4" required> <input id="year" type="text" minlength="4" required>
</div> </div>
</form> </form>