HTML and CSS Reference
In-Depth Information
EXPLANATION
1
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.
2
The name of the text area is story . It is a textarea object. Its type is textarea .
3
The value of the name property is displayed.
4
The rows property of the text area contains the number of rows that were assigned
in the rows attribute of the text area.
5
This is the value of the text that appears inside the box.
6
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.
 
Search WWH ::




Custom Search