سمة صفوف HTML <textarea>
مثال
منطقة نص بارتفاع وعرض محددين:
<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>
التعريف والاستخدام
تحدد السمة rows
الارتفاع المرئي لمنطقة النص ، في الأسطر.
ملاحظة: يمكن أيضًا تحديد حجم منطقة النص بخصائص ارتفاع وعرض CSS.
دعم المتصفح
Attribute | |||||
---|---|---|---|---|---|
rows | Yes | Yes | Yes | Yes | Yes |
بناء الجملة
<textarea rows="number">
قيم السمات
Value | Description |
---|---|
number | Specifies the height of the text area (in lines). Default value is 2 |
❮ علامة HTML <textarea>