HTML and CSS Reference
In-Depth Information
Element
Description
Content Model
Attributes
form
Creates an area of the
page containing ields
for user input, grouping
those ields for processing
low
action, method,
enctype
ieldset
Marks a section of a form
with an optional caption
low,
legend
form, disabled
legend
Represents a caption for
its containing
ieldset
element
phrasing
label
Represents a label for a
user
input
element or
control
phrasing
form, for
input
Creates a user input ield
in a
form
element
empty
type, value,
disabled, size,
required, hidden.
list
button
Creates a clickable button
phrasing
type, value,
disabled
select
Creates either a drop
menu for a single option
choice or a scrolling,
multiple-choice menu
option
multiple, size,
disabled
option
Provides one choice of its
parent
select
element
text
label, value,
disabled, selected
optgroup
Groups
option
elements
with a common label
option
textarea
Provides a multiline text
input ield
text
rows, cols,
required,
disabled, readonly
datalist*
Provides for setting
defaults for other
input
elements
option