HTML <textarea> satırları Ö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 rows
, bir metin alanının görünür yüksekliğini satır cinsinden belirtir.
Not: Bir metin alanının boyutu, CSS yükseklik ve genişlik özellikleriyle de belirlenebilir.
Tarayıcı Desteği
Attribute | |||||
---|---|---|---|---|---|
rows | Yes | Yes | Yes | Yes | Yes |
Sözdizimi
<textarea rows="number">
Özellik Değerleri
Value | Description |
---|---|
number | Specifies the height of the text area (in lines). Default value is 2 |
❮ HTML <textarea> etiketi