Posted by Chris Beall on 10/24/16 11:29
clintonG wrote:
> Hmmm... I seem to have lost all understanding of how some HTML elements
> function.
> Example...
>
> <textarea multiline="2" maxlength="2"></textarea>
> <br />
> <input maxlength="2" />
>
> Why does the textarea not prevent entering more characters than its
> maxlength value the same way the input element will?
>
> <%= Clinton Gallagher
>
>
Clinton,
See http://www.w3.org/TR/html401/interact/forms.html#edef-TEXTAREA
multiline and maxlength are not attributes of the textarea element.
See http://www.w3.org/TR/html401/index/attributes.html
multiline is not an HTML attribute at all.
Perhaps you are thinking of some other language?
Chris Beall
Navigation:
[Reply to this message]
|