Form Tags
TEXTAREA
The Textarea tag creates
a multi-line text box, giving your visitors a lot of room to enter information.
Example Textarea:
What was your favorite scene in the movie?
Here's the html code:
<P>What was your favorite scene in the movie?<TEXTAREA NAME="Favorite Scene"
ROWS=7 COLS=52 WRAP="virtual">The best part was...</TEXTAREA> </P>
Parts of the Textarea Tag
HTML Label (Example: "What was your favorite scene in the movie?")
Text boxes are labeled with regular html text so your visitors can understand what information they are expected
to provide. You can put your label before or after the Textarea tag.
Note: The label is not actually part of the tag itself and is not included in the form data sent.
NAME="any text"
The NAME is used by the Thank You page and email as a label for the information entered in the Textarea box.
ROWS=number
This number determines the height in rows of the text box. If your visitor enters more text than will fit, the
text box scrolls up.
COLS=number
Sets the width in characters of the text box.
Default Text (Example: "The best part was...") Optional
For default text inside the multi-line text box, place the text between the ">" and the final "</TEXTAREA>"
tag.
WRAP="type" Optional
This command lets you determine how text is wrapped at the end of each line in the text box. There are three
options:
WRAP="virtual" This automatically wraps the text at the end of each line. However, only the
display is affected. Hard return characters are not really added to the text, so it remains one continuous string
when you receive it in your email.
WRAP="physical" This adds hard return characters at the end of each line in the text box, and
the text is submitted to you with the returns added.
WRAP="hard" This adds hard return characters at the end of each line in the text box. When
"WRAP="Physical" doesn't work, try this one.
WRAP="off" This is the same as not using the wrap command at all. Not very useful, we think.
The text continues to scroll to the left unless the visitor hits the Return key to start a new line.
|