HTML - Textarea

1 - About

The textarea tag defines a multi-line text input control.

A text area can hold an unlimited number of characters.

In HTML, a <textarea> element defines its text by its children.

3 - Font

The text renders in a fixed-width font (usually Courier) (ie fixed pitch).

4 - Attribute

Attributes Default Desc
cols 20 with the lift, 22 otherwise the expected maximum number of characters per line
rows 3 the number of lines to show

5 - Example

5.1 - Default

  • HTML

<textarea cols=15 rows=4>
012345678901234567890123456789012345678901234567890123456789012345678901234567890
</textarea>

  • Output:

5.2 - Library

6 - Documentation / Reference


Data Science
Data Analysis
Statistics
Data Science
Linear Algebra Mathematics
Trigonometry

Powered by ComboStrap