Textarea in Html


This tag defines a multi-line text input control.
A text are can hold an unlimited number of characters, and text renders in a fixed -width font.
The size of a textarea can be specified by the cols and rows attributes.
Cols indicate textarea width and rows indicate its height.


<!DOCTYPE html>
<title>Text area</title>

<textarea cols="8" rows="8"></textarea>

Output of this code will look like this: