Searchbox is here: Alt plus 4 |
|Go to main content|
Accessibility information page| |
||||||
![]() |
Online Accessibility
D
...a better web for everyone! |
||||||
Navigation begins hereHome (1)| |
Tutorial (U)| | Formats (F)| | Tags (G)| | Tools (L)| | Resources (R)| | Questions? (Q)| | |
Tags|Alt| Div| I D| Meta| T H| |
Fieldset and LegendThe Fieldset element, in conjunction with Legend, has been developed to help users organize form content, as in the case of a form where contact information is clustered. A combination of these tags and Cascading Style Sheet attributes can produce a table-free data form. Fieldset and Legend are not currently supported by adaptive technology. Note: Fieldset encloses content between the <TD> and </TD> tags, so it does not work for forms defined by multiple rows and columns. Fieldset and Legend are used below in concert with I D below. See the Forms page for more detail. Code Example:
<tr>
<td><fieldset>
<legend>Contact Information
</legend>
<p> <label for="FirstName">First name:</label> <input type="text" name="fn" id="FirstName"></input></label> </p> <p> <label for="SecondName">Second name:</label> <input type="text" name="sn" id="SecondName"></input> </p> </fieldset></td> </tr> BrowsersInternet Explorer supports the use of Fieldset and Legend, enclosing content areas with a thin border (see this site's Comments Form as an example). Adaptive TechnologyNeither Fieldset nor Legend is supported by JAWS, Window-Eyes or Home Page Reader at this point, so their usefullness is limited. |
||||||
|
|
Secondary navigation begins here| About this site (B) | Email (E) | Site Map (3) | Comments (9) | |
||||||