<textarea> এলিমেন্টের দৃশ্যমান প্রস্থ (কতগুলো ক্যারেক্টার প্রস্থে দেখাবে) নির্ধারণ করতে cols অ্যাট্রিবিউট ব্যবহার করা হয়।
উদাহরণ
<!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>