Textarea in Html

TextArea

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.


Example:

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

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

Output of this code will look like this: