HTML <textarea>
tag is used to define a multi-line text input control.
The size of the textarea is defined by <cols>
and <rows>
attribute, or it can also be defined through CSS height and width properties.
HTML <textarea>
tag is used to define a multi-line text input control.
The size of the textarea is defined by <cols>
and <rows>
attribute, or it can also be defined through CSS height and width properties.
See this example:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Example of HTML Textarea Tag</title>
</head>
<body>
<textarea rows="12" cols="50">Textarea example with rows and columns.</textarea>
</body>
</html>