Text Area are mostly used for data entry in web forms. They could be resizable on run-time and can also be created with fixed size having particular width and height.
Resizable Text Area:
Below I am showing a Resizable text area and its respective code which I have used to create it.
Below is the html code that has been used to create Resizable text area.
Now next I am going to show an example of fixed size Text Area.
Here is the html source used to create Fixed Size Text Area:
<textarea style= "height: 134px; resize: none; width: 296px;" maxlength="50">Fixed Size Text Area</textarea> |
No comments:
Post a Comment