10.13 Textarea Controls
To round out your introduction to HTML’s most popular controls, we’ll cover textarea controls3 in this section and pull-down menus and list boxes after that.
The textarea control is similar to the text control in that it enables the user to enter text into a box. The only significant differences in functionality are that the box can have multiple rows, and the box will have a scrollbar if it contains more text than can be seen within the box’s borders. There are quite a few differences in syntax, and we’ll cover those differences next.
Because of the somewhat disjointed nature of HTML’s development (remember the browser wars?), knowing which element to use for a particular control can be a bit of a challenge. Up to ...
Get Web Programming with HTML5, CSS, and JavaScript now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.