Only used
with type="image".
Defines in characters (not
pixels) the width of the input
element. (For pixel-defined
widths, use CSS.)
Cannot be used with
type="hidden".
Indicates the input element
is read-only and cannot be
modified. The only value for
this attribute is readonly.
Only used with type="text"
and type="password".
readonly=readonly
Defines a name for the input
element.
* Required for the following
types: button, checkbox,
file, hidden, image,
password, text, and radio.
name=name
(required*)
THE ESSENTIAL GUIDE TO CSS AND HTML WEB DESIGN
426
Element Attribute Description Standard attributes
Core attributes,
language attributes
Core events
cite=URL
datetime=date
Core attributes,
language attributes
Core events
continues
Defines ???keyboard??? text
(text inputted by the user).
Usually rendered in a
monospace font.
See also Chapter 3, ???Logical
styles for programmingoriented
content.???
Defines the date and time
that the text was amended.
Various formats are possible,
including YYYY-MM-DD and
YYYY-MM-DDThh:mm:ssTZD
(where TZD is the time zone
designator). See www.w3.org/
TR/1998/NOTE-datetime-
19980827 for more date and
time formatting information.
Defines the URL of a
document that explains why
the text was inserted.
Defines inserted text. Usually
appears in underline format,
which can be confusing
because links are also underlined.
It??™s therefore
recommended that you use
CSS to change the underline
color.
Pages:
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531