HTML and CSS Reference
In-Depth Information
<textarea>
Function
Creates a multiline text-input area
accesskey
,
class
,
cols
,
dir
,
disabled
,
id
,
lang
,
name
,
notab
,
onBlur
,
onChange
,
onClick
,
onDblClick
,
onFocus
,
onKeyDown
,
onKeyPress
,
onKeyUp
,
onMouseDown
,
onMouseMove
,
onMouseOut
,
onMouseOver
,
onMouseUp
,
onSelect
,
readonly
,
rows
,
style
,
tabindex
,
taborder
Attributes
,
title
,
wrap
</textarea>
; never omitted
End tag
Contains
plain_text
Used in
form_content
9.7.1.1. The rows and cols attributes
A multiline text-input area stands alone onscreen: body content flows
above and below, but not around it. You can control its dimensions,
however, by defining the
cols
and
rows
attributes for the visible rectan-
gular area set aside by the browser for multiline input. We suggest you
set these attributes. The common browsers have a habit of setting aside
the smallest, least readable region possible for
<textarea>
input, and the