December 2009
Intermediate to advanced
190 pages
3h 55m
English
legend — HTML 4.01 | HTML5
<legend> . . . </legend>
Assigns a caption to a fieldset (it must be the first child of a
fieldset element). This improves
accessibility when the fieldset is
rendered nonvisually.
Required/Required
Core, Internationalization, Events, HTML5 Global Attributes
accesskey="character"Assigns an access key (keyboard shortcut) to an element for quicker access.
align="top|bottom|left|right"Deprecated. Not in HTML5. Aligns the text relative to the fieldset.
<fieldset><legend>Mailing List Sign-up</legend><ul> <li><label>Add me to your mailing list <input type="radio" name"list"></label></li> <li><label>No thanks <input name"list" value="no"> </label></li> </ul> </fieldset>
Read now
Unlock full access