A text area with a specified height and width.
The cols
attribute specifies the visible width of a text area.
Tip: The size of a text area can also be set by the CSS height and width properties.
<textarea cols="number">
Value | Description |
---|---|
number | Specifies the width of the text area (in average character width). Default value is 20 |
Example:
HTML
<label for="css">Type</label><br>
<textarea rows="4" cols="50">
At horje.com you will learn how to make a website. We offer free tutorials in all web development technologies.
</textarea>
Type: | Html |
Category: | Web Tutorial |
Sub Category: | HTML Tag |
Uploaded by: | Admin |