Name

legend

Synopsis

<legend>...</legend>

Assigns a caption to a fieldset (it must be contained within a fieldset element). This improves accessibility when the fieldset is rendered nonvisually.

Attributes

Core(id, class, style, title), Internationalization, Events

accesskey=" character "

Assigns an access key (keyboard shortcut) to an element for quicker access.

align="top|bottom|left|right"

Deprecated. Aligns the text relative to the fieldset.

Get Web Design in a Nutshell, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.