New! My 44-page ebook "CSS in 44 minutes" is out! 😃

Get it now →

# legend

Defines a caption for a parent's content.

Example: Copy

Subscribe to the Newsletter
<form action="/subscribe" method="post">
  <fieldset>
    <legend>Subscribe to the Newsletter</legend>
    <input type="email" name="email">
    <button>Ok</button>
  </fieldset>
</form>