Added a link and changed some text.
This commit is contained in:
Родитель
6f4cedafef
Коммит
1cbd7dbfb5
|
@ -61,14 +61,15 @@ limitations under the License.
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
In this particular case, the <code><form></code> contains one <code><input></code>,
|
In this particular case, the <code><form></code> contains one <code><input></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>
|
||||||
|
|
Загрузка…
Ссылка в новой задаче