Legend and Fieldset

Here is some random text before the form.

Do you like my hat?

More random text after the form.

Legend wrapped in div
Legend wrapped in span

Fieldset with no legend

Legend with no fieldset