|
|||||||||
|
Multiple-line text fieldsMultiple-line text fields are specified using the TEXTAREA element (not an attribute of the INPUT element):
<TEXTAREA NAME="textarea" ROWS=5 COLS=30>Initial data</TEXTAREA>
The on-screen size of the field is defined by the
ROWS and
COLS attributes. If more data is input
the field will automatically scroll. If there is any text between the
<TEXTAREA> and </TEXTAREA> tags it is
displayed as the initial value of the field. Line breaks and spaces
are interpreted literally in this text, so you should enter it
starting on the same line as the <TEXTAREA> tag,
otherwise you will have a blank line as the first line of text. You
can have line breaks within an HTML tag, so you might want have the
Spinning the Web by Andrew Ford |
||||||
Copyright © 1996-2002 Ford & Mason Ltd |