HTML and CSS Reference
In-Depth Information
Figure 4-19.
Three panels showing how a data list can be associated with a text input field. The
associated data list appears when placing focus in the text input field, and the list is narrowed
down to matching options as letters are typed.
Other form controls
The
input
element is undoubtedly a large and versatile element, but it isn't the only
form control. We've talked about
button
, but there is also
select
(and
option
)
and
textarea
. These aren't new to HTML5, however. What has been added has been
datalist
, which was covered in the prior section;
progress
;
meter
(otherwise
known as a gauge);
output
; and
keygen
. Let's take a look at each of the controls that
haven't been covered yet, from old to new.
Search WWH ::
Custom Search