HTML and CSS Reference
In-Depth Information
Also note that the UK government has recommended that, for accessibility, certain key
bindings should be predefined in UK Web sites. These suggested values are found in Table 3-3.
Page authors are also encouraged to consider styling or providing script-based schemes
to reveal accesskey bindings because they may not be obvious to users even when a
convention like the UK bindings is employed.
align
Many browsers define the align attribute on elements. Transitional versions of (X)HTML
do as well. This attribute generally takes a value of left , right , or center , which
determines how the element and its contents are positioned in a table or the window. The
value of left is usually the default. In some cases, a value of justify is also supported.
CSS properties like text-align and margin should be used instead of this attribute when
possible.
contenteditable
This proprietary Microsoft attribute, now part of the HTML5 specification, allows users to
directly edit content in a browser. Values are false , true , and inherit . A value of false
prevents content from being edited by users; true allows editing. The default value,
inherit , applies the value of the affected element's parent element. In addition to Internet
Explorer, all recent major browsers, such as Firefox 3+, Safari 3+, and Opera 9.5+, also
support this attribute.
Access Key
Suggested Destination
S
Skip navigation
1
Home page
2
What's new
3
Site map
4
Search
5
Frequently Asked Questions (FAQ)
6
Help
7
Complaints procedure
8
Terms and conditions
9
Feedback form
0
Access key details (information on these and other keys plus usage)
T ABLE 3-3 UK Government Suggested accesskey Bindings
Search WWH ::




Custom Search