In HTML5, some elements (e.g. <section>, <article>) create a new sectioning context in the document‘s outline, as per the outlining algorithm.
This basically means you can use <h1> as the top-level heading inside them without screwing up the document’s generated outline.
Does the <form> element create a sectioning context?