Explore a little.C ProgrammingC++HTMLVisual BasicSystem AnalysisE-CommerceBCA Notes
LEARN SOMETHING NEW

Textarea in Html

Read4BCA learning libraryFree access

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:

Textarea in Html example

This lesson preserves the original Read4BCA material. Some programming examples use older tools and syntax. View original page.