HTML <textarea> sütunları Özellik
Örnek
Belirtilen yükseklik ve genişliğe sahip bir metin alanı:
<textarea rows="4" cols="50">
At w3schools.com you will learn how to make a website. We offer free tutorials in all web development technologies.
</textarea>
Tanım ve Kullanım
Nitelik cols
, bir metin alanının görünür genişliğini belirtir.
İpucu: Bir metin alanının boyutu, CSS yükseklik ve genişlik özellikleriyle de ayarlanabilir.
Tarayıcı Desteği
Attribute | |||||
---|---|---|---|---|---|
cols | Yes | Yes | Yes | Yes | Yes |
Sözdizimi
<textarea cols="number">
Özellik Değerleri
Value | Description |
---|---|
number | Specifies the width of the text area (in average character width). Default value is 20 |
❮ HTML <textarea> etiketi