![]() |
|
<legend>
![]() |
![]() |
||||||||||||
"The LEGEND element allows designers to assign a caption to a FIELDSET. The legend improves accessibility when the FIELDSET is rendered non-visually. When rendered visually, setting the align attribute on the LEGEND element aligns it with respect to the FIELDSET. " (W3C HTML 4.0)
The following example is copied from the W3C HTML 4.0 specification. It does not use the <label> tag. To see the original text refer to their documentation.
accesskey=
|
Let's suppose that you created a menu that were annotated by some of the letters of the alphabet and you wanted readers to be able to type a key and jump to that specific document. That's what "accesskey=" is supposed to do.
Type "c" to jump to the sitemap. The syntax looks like this: <a accesskey="c" href="sitemap.htm">Type "c" to jumpt to the sitemap.</a> |
|||||||
|---|---|---|---|---|---|---|---|---|
align=
|
"This attribute specifies the position of the legend with respect to the fieldset." (W3C HTML 4.0) | |||||||
"bottom"
|
"Places the legent below the fieldset." (W3C HTML 4.0) | |||||||
"left"
|
"The legent is to the left of the fieldset." (W3C HTML 4.0) | |||||||
"right"
|
"The legend is to the right of the fieldset." (W3C HTML 4.0) | |||||||
"top"
|
"Places the label above the fieldset. This is the default value" (W3C HTML 4.0) | |||||||
class=
|
||||||||
dir=
|
||||||||
| "ltr" | ||||||||
| "rtl" | ||||||||
id=
|
||||||||
lang=
|
||||||||
style=
|
||||||||
title=
|
"This is informational only and describes the object specified with the HREF attribute. It can be used for object types that don't possess titles, such as graphics, plain text and Gopher menus." (Microsoft)
"Title is little used or supported and is a Level 1 attribute, but is expected to be the title of the HREF document. RFC 1866 suggests TITLE can be displayed as a margin note or on a small box while the mouse is over the anchor. (Sandia) "Title=" has suddenly taken on a new role. The objective of HTML 4.0 is to make browsers more user friendly for the handicapped and title= is one of the potential tools. Follow the link for more detail. |
|||||||