HTML: Forms (Part 2)
There are two tags related to forms that don't involve the <INPUT> tag; they are <TEXTAREA> and <SELECT>.
The <TEXTAREA> tag provides a box in which the viewer can write. The ROWS attribute determines the number of rows in the box; the COLS attribute sets the number of columns. The WRAP=VIRTUAL setting assures that text will wrap appropriately inside the box. The <TEXTAREA> tag terminates with a </TEXTAREA> tag.
Let's continue the music quiz we started in Part 1, and ask the viewer a question that can be answered in a <TEXTAREA> box. Here is an example:
<p><b>Why is the band you listed above your favorite band?</b>
<textarea rows=5 cols=60 name="whyFavoriteBand" wrap=virtual>