TEXTAREA - pole tekstowe formularza
Interpretacja |
Internet Explorer |
Netscape |
Opera |
|
1.0 |
1.0 |
2.1 |
Polecenie tworzy pole tekstowe jako element formularza.
Przykład:
<textarea rows="5" cols="30">
Tutaj jest pole tekstowe formularza
</textarea>
Atrybuty pola tekstowego formularza:
- Specyficzne atrybuty
- cols - szerokość pola liczona liczbą kolumn znaków
- rows - wysokość pola w wierszach
- disabled - wyłączenie pola
- readonly - pole tylko do odczytu
- Standardowe atrybuty: id, class, title, style, dir, lang, xml:lang, tabindex, accesskey
- Atrybuty zdarzeń: onfocus, onblur, onselect, onchange, onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown, onkeyup
Więcej o formularzach: Formularze