HTML4 HTML5
Defines a caption/title for the content of a <fieldset> element. Placed as the first child of <fieldset> to provide accessibility context for grouped form fields.
Both opening and closing tags are required.
Attributes: Global attributes apply, such as class, id, and style.
Code:
The browser will interpret this code as follows: