8.12 Controls
There’s lots more syntax to cover when it comes to HTML controls, but before returning to the syntax jungle, a controls overview might be helpful. It’s rather difficult to keep track of which controls use which elements, and this section attempts to make the learning process easier. Read it now and use it as a reference later.
FIGURE 8.6 shows some of the more popular controls and the elements used to implement them. As you can see, most of the controls use the input element for their implementation. But just to make things difficult,6 not all controls use the input element. Some important controls use the select and textarea elements.
FIGURE 8.6 Some of the more popular controls and the elements used to implement them
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access