Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[e] (0) maxlength='' example
git-svn-id: http://svn.whatwg.org/webapps@3819 340c8d12-0b0e-0410-8428-c7bf67bfef74
- Loading branch information
attribute must be equal to or less than the element's <a href=#maximum-allowed-value-length>maximum | ||
allowed value length</a>.</p> | ||
|
||
<div class=example> | ||
|
||
<p>The following extract shows how a messaging client's text entry | ||
could be arbitrarily restricted to a fixed number of characters, | ||
thus forcing any conversion through this medium to be terse and | ||
discouraging intelligent discourse.</p> | ||
|
||
<pre>What are you doing? <input name=status maxlength=140></pre> | ||
|
||
</div> | ||
|
||
|
||
|
||
<h6 id=the-pattern-attribute><span class=secno>4.10.4.2.8 </span>The <code title=attr-input-pattern><a href=#attr-input-pattern>pattern</a></code> attribute</h6> |
attribute must be equal to or less than the element's <span>maximum | ||
allowed value length</span>.</p> | ||
|
||
<div class="example"> | ||
|
||
<p>The following extract shows how a messaging client's text entry | ||
could be arbitrarily restricted to a fixed number of characters, | ||
thus forcing any conversion through this medium to be terse and | ||
discouraging intelligent discourse.</p> | ||
|
||
<pre>What are you doing? <input name=status maxlength=140></pre> | ||
|
||
</div> | ||
|
||
|
||
|
||
<h6>The <code title="attr-input-pattern">pattern</code> attribute</h6> |