Textareas
Textareas are useful in a number of situations. They allow you to display many lines of text in a small area. There syntax is also fairly simple to understand. You can inspect the code for this page and see some examples of textareas in action.
You will notice that the attributes used with the textarea tag include cols, rows, and wrap. The cols attribute controls the number of columns which appear in your table. The rows attribute controls the number of rows which appear in your table. The wrap attribute controls whether or not word wrap is active or not. You will notice that wrap is not on in this textarea.
The form tag is also important. Without the form tag the textarea will not appear on the page. So, remember to include the form tag before and after the HTML for your textarea. (BTW, the big problem with this textarea is that no cols or rows values are set and as you can see, this can really cause problems!
ASSIGNMENT:
You will construct a table with four cells arranged as a two by two grid. Each cell will contain a textarea. Each text area will be 35 columns wide and 12 rows tall. You can place the entire table between a pair of form tags or you can place each textarea between pairs of form tags. Either way will work since all that matters is that the textareas are coded within form tags. Within your textareas you write short essays (at least 80 words) on each of the following topics: 1. What you would do with $100,000. 2. Where you would live if you could afford to live anywhere. 3. What law you would change if you could change any law. 4. If you could live at any time in history, when would you live? Why?