HTML <textarea> řádky Atribut

❮ HTML tag <textarea>

Příklad

Textová oblast se zadanou výškou a šířkou:

<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>

Definice a použití

Atribut rowsurčuje viditelnou výšku textové oblasti v řádcích.

Poznámka: Velikost textové oblasti lze také určit pomocí vlastností CSS height a width.


Podpora prohlížeče

Attribute
rows Yes Yes Yes Yes Yes

Syntax

<textarea rows="number">

Hodnoty atributů

Value Description
number Specifies the height of the text area (in lines). Default value is 2

❮ HTML tag <textarea>