Tuesday, October 8, 2013

HTML5 'textarea' Tag with example


HTML5   <textarea>  Tag 


Info of HTML5 textarea Tag :text area: a multiline plain text edit control for the element's raw value


textarea Tag Attributes : autofocus: determines if the textarea gets focus when the page loads [autofocus] cols: specifies the expected maximum number of characters per line disabled: prevents entry of text [disabled] form: form to associate the textarea with readonly: control whether the text can be edited by the user or not [readonly] required: will be required to enter a value before submitting the form [required] rows: specifies the number of lines to show maxlength: controls the maximum amount of characters which can be entered placeholder: a hint intended to aid the user with data entry wrap: defines how text is wrapped [soft | hard]

0 comments :

Post a Comment