Skip to content

Commit

Permalink
fix: Empty link to minlength (mdn#1113)
Browse files Browse the repository at this point in the history
  • Loading branch information
nschonni authored Jan 9, 2021
1 parent b78d541 commit 71c6b25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/en-us/web/html/attributes/maxlength/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<p><span class="seoSummary">The <strong><code>maxlength</code></strong> attribute defines the maximum number of characters (as UTF-16 code units) the user can enter into an {{htmlelement('input')}} or {{htmlelement('textarea')}}. This must be an integer value 0 or higher.</span> If no maxlength is specified, or an invalid value is specified, the input or textarea has no maximum length.</p>

<p>Any <code>maxlength</code> value must be greater than or equal to the value of <code><a href="">minlength</a></code>, if present and valid. The input will fail constraint validation if the length of the text value of the field is greater than maxlength UTF-16 code units long. Constraint validation is only applied when the value is changed by the user.</p>
<p>Any <code>maxlength</code> value must be greater than or equal to the value of <code><a href="/en-US/docs/Web/HTML/Attributes/minlength">minlength</a></code>, if present and valid. The input will fail constraint validation if the length of the text value of the field is greater than maxlength UTF-16 code units long. Constraint validation is only applied when the value is changed by the user.</p>

<h3 id="Constraint_validation">Constraint validation</h3>

Expand Down

0 comments on commit 71c6b25

Please sign in to comment.