The Compendium of HTML Elements is a reference manual for all HTML tags. This detail page includes a hierarchial listing of the <legend> tag, its' attributes and arguments and a chart that shows what browsers support it. Additional links on this page provide more detail on attributes or arguments.
w3c icon + 2.0 3.0 3.2 4.0

<legend>

container
start tagrequired
end tagrequired

Link to Site Map

"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.

Personal Information Last Name:
First Name:
Address:
Medical History Smallpox Mumps Dizziness Sneezing ...more medical history...
Current Medication Are you currently taking any medication? Yes No
If you are currently taking medication, please indicate it in the space below:
accesskey=
w3c icon + 2.0 3.0 3.2 4.0
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=
w3c icon + 2.0 3.0 3.2 4.0
"This attribute specifies the position of the legend with respect to the fieldset." (W3C HTML 4.0)
"bottom"
w3c icon + 2.0 3.0 3.2 4.0
"Places the legent below the fieldset." (W3C HTML 4.0)
"left"
w3c icon + 2.0 3.0 3.2 4.0
"The legent is to the left of the fieldset." (W3C HTML 4.0)
"right"
w3c icon + 2.0 3.0 3.2 4.0
"The legend is to the right of the fieldset." (W3C HTML 4.0)
"top"
w3c icon + 2.0 3.0 3.2 4.0
"Places the label above the fieldset. This is the default value" (W3C HTML 4.0)
class=
w3c icon + 2.0 3.0 3.2 4.0
dir=
w3c icon + 2.0 3.0 3.2 4.0
"ltr"
"rtl"
id=
w3c icon + 2.0 3.0 3.2 4.0
lang=
w3c icon + 2.0 3.0 3.2 4.0
style=
w3c icon + 2.0 3.0 3.2 4.0
title=
w3c icon + 2.0 3.0 3.2 4.0
"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.