Definizione e utilizzo
Le rows attributo specifica l'altezza visibile di un'area di testo, nelle linee.
Nota: La dimensione di una textarea può essere specificato anche dal CSS height e width proprietà.
Si applica a
Le rows attributo può essere utilizzato sull'elemento seguente:
Elemento | Attributo |
---|---|
<textarea> | rows |
Esempio
Un textarea con una altezza e larghezza specificate:
<textarea rows="4" cols="50">
At w3ii.com you will learn how to make a website. We offer free
tutorials in all web development technologies.
</textarea>
Prova tu stesso " Supporto per il browser
Attributo | |||||
---|---|---|---|---|---|
rows | sì | sì | sì | sì | sì |