Prev | Current Page 497 | Next

Craig Grannell

"The Essential Guide to CSS and HTML Web Design"


id=name Defines a unique reference ID for the element.
Sets an inline style. Deprecated in XHTML 1.1, so it should be
used sparingly and with caution.
title=string Specifies the element??™s title. Often used with links to provide a
tooltip expanding on the link??™s purpose or the target??™s content.
Keyboard attributes
Attribute Description
accesskey=character Defines a keyboard shortcut to access an element. The shortcut
must be a single character. Most commonly used with
navigation links.
See also Chapter 5, ???Using accesskey and tabindex.???
tabindex=number Defines the tab order of an element. Most commonly used
with form input elements. Setting the value to 0 excludes
the element from the tabbing order. The maximum value
allowed is 32767. The tabindex values on a page needn??™t be
consecutive (for instance, you could use multiples of 10, to
leave space for later additions).
See also Chapter 5, ???Using accesskey and tabindex.???
Not valid in these elements: base, head, html, meta, param, script, style, and title.
style=style
(deprecated)
Note that in the following pages, various styles are used for the attribute names and
values. For the sake of clarity, quote marks have been omitted, but never forget that
XHTML attributes must be quoted. Therefore, where you see the likes of id=name in
this reference section, the final output would be id="name".
THE ESSENTIAL GUIDE TO CSS AND HTML WEB DESIGN
400
Language attributes
Attribute Description
dir=dir Specifies the text rendering direction: left-to-right (ltr, the
default) or right-to-left (rtl).


Pages:
485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509