![]() |
|
<label>
![]() |
![]() |
||||||||||||
This tag allows text to be associated with the input "windows" that are created in a form.
The example below is modified from the W3C HTML 4.0 <fieldset> example.
The field labels, "Last Name:", "First Name:" and "Address:" are placed with the <label> tag.
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" | ||||||||
| "left" | ||||||||
| "right" | ||||||||
| "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. |
|||||||