The only value for this
attribute is disabled. Cannot
be used with type="hidden".
Sets input element??™s default
state to checked. The only
value for this attribute is
checked. Only used with
type="checkbox" and
type="radio".
Provides alternate text for
nonvisual browsers. Only used
with type="image".
A list of MIME types that can
be accepted by this element.
Only used with type="file".
Defines a form input field.
See also Chapter 8, ???Adding
controls.???
Defines the image??™s width in
pixels.
Defines the image as a clientside
image map.
See also Chapter 5, ???Image
maps.???
The URL of the image to be
displayed. This attribute is
required.
src=URL
(required)
Provides the location of a
document containing a long
description of the image.
XHTML REFERENCE
425
A
Element Attribute Description Standard attributes
size=number
src=URL
When type="button", type=
"reset", or type="submit", it
defines button text.
When type="checkbox" or
type="radio", it defines the
result of the input element; the
result being sent when the form
is submitted.
When type="hidden",
type="password", or
type="text", it defines the
element??™s default value.
When type="image", it defines
the result of the field passed to
the script. Cannot be used with
type="file".
value=string
(required when
type=checkbox and
type=radio)
Defines the input element
type. Defaults to text.
type=button|
checkbox|file|
hidden|image|
password|radio|
reset|submit|text
Defines the URL of the image
to be displayed.
Pages:
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530