HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
The cols attribute specifies the visible width of a text area."
The
cols
attribute specifies the visible width of a text area.
The
cols
attribute can be used on the following element:
Elements | Attribute |
---|---|
<textarea> | cols |
A text area with a specified height and width:
<textarea rows="4" cols="50">
At w3resource.net you will learn how to make a website. We offer free tutorials in all web development technologies.
</textarea>
Attribute | |||||
---|---|---|---|---|---|
cols | Yes | Yes | Yes | Yes | Yes |