Line break inside a <legend> test

Index page

This test is to determine if line breaks are allowed inside the <legend> element. This is based on the W3C content model, which defines content that must be included as children and descendants of the element.


Another thing
<form action="#">
    <legend>Something<br> Another thing</legend>

Dummy link after


The <legend> element can contain phrasing content, optionally intermixed with heading content.

Index page