HTML and CSS Reference
An HTML text area is defined. Its name is story and it consists of 8 rows and 60 col-
umns. The text, “ Once upon a time, there were three little... ” appears in the text area.
The name of the text area is story . It is a textarea object. Its type is textarea .
The value of the name property is displayed.
The rows property of the text area contains the number of rows that were assigned
in the rows attribute of the text area.
This is the value of the text that appears inside the box.
The cols property of the text area contains the number of columns that were assigned
in the cols attribute of the text area. The output is shown in Figures 11.33 and 11.34.
Figure 11.33 The textarea object.
Figure 11.34 Output from Example 11.20.