title: limit number of digits in label in html
body: <p>is it possible to set limit of digits or words on label?</p>
  
  <p>is there any way to limit the number of digits in label in html, i've searched on 
  internet in every possible way, but didn't get any result..please help me frnds.</p>
  
  <p>like on any textbox or textarea:</p>
  
  <pre><code>&lt;textarea maxLength="10"&gt;&lt;/textarea&gt;
  </code></pre>
  
  <p>OR</p>
  
  <pre><code>&lt;input type="text" maxLength="10" /&gt;
  </code></pre>
  
  <p>BTW is it possible to cut the label after certain word limit through javascript?</p>