Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Selected Reading
How do we display the visible width of a text area in HTML?
Use the cols attribute in HTML to display the visible width of a textarea. You can try to run the following code to implement cols attribute −
Example
<!DOCTYPE html> <html> <body> <textarea rows="3" cols="40"> This is a demo paragraph. This is a demo paragraph. This is a demo paragraph. This is a demo paragraph. </textarea> </body> </html>
Advertisements
