Permalink
Browse files

[e] (0) maxlength='' example

git-svn-id: http://svn.whatwg.org/webapps@3819 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
1 parent 47deceb commit 52d14e3fe40d7b2a9759960fb5fdf71aeb34c33e @Hixie Hixie committed Sep 13, 2009
Showing with 22 additions and 0 deletions.
  1. +11 −0 index
  2. +11 −0 source
View
11 index
@@ -34926,6 +34926,17 @@ interface <dfn id=htmlformelement>HTMLFormElement</dfn> : <a href=#htmlelement>H
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? &lt;input name=status maxlength=140&gt;</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>
View
11 source
@@ -38832,6 +38832,17 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
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? &lt;input name=status maxlength=140></pre>
+
+ </div>
+
<h6>The <code title="attr-input-pattern">pattern</code> attribute</h6>

0 comments on commit 52d14e3

Please sign in to comment.