title: Header or Legend?
body: <p>I am working on an admins panel website.
  All pages have an header and some form below it.</p>
  
  <p>a page looks something like this:</p>
  
  <pre><code>&lt;div class="page some-page"&gt;
       &lt;form&gt;
          &lt;fieldset&gt;
             ...
          &lt;/fieldset&gt;
       &lt;/form&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I need to add a header for all the pages and I wonder if to put it as a <code>&lt;legend&gt;</code> - or as <code>&lt;H1&gt;</code></p>
  
  <hr>
  
  <p>so each page header can be something like this (using legend):</p>
  
  <pre><code>&lt;div class="page some-page"&gt;
       &lt;form&gt;
          &lt;fieldset&gt;
             &lt;legend&gt;Page's Header&lt;/legend&gt;
             ...
          &lt;/fieldset&gt;
       &lt;/form&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>or like this (using h1)</p>
  
  <pre><code>&lt;div class="page some-page"&gt;
       &lt;h1&gt;Page's Header&lt;/h1&gt;
       &lt;form&gt;
          &lt;fieldset&gt;
             ...
          &lt;/fieldset&gt;
       &lt;/form&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>or maybe even something more complicated with nested header > h1:</p>
  
  <pre><code>&lt;div class="page some-page"&gt;
       &lt;header&gt;
           &lt;h1&gt;Page's Header&lt;/h1&gt;
       &lt;/header&gt;
       &lt;form&gt;
          &lt;fieldset&gt;
             ...
          &lt;/fieldset&gt;
       &lt;/form&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>In terms of design and css-ing it - all are the same and can be styled the same..</p>
  
  <hr>
  
  <p>from the HTML specification -  is:</p>
  
  <blockquote>
    <p>The HTML – elements represent six levels of section headings.  is the highest section level and  is the lowest.</p>
  </blockquote>
  
  <p>and Legend is:</p>
  
  <blockquote>
    <p>The HTML  element represents a caption for the content of its parent .</p>
  </blockquote>
  
  <hr>
  
  <p>I am asking in terms of "best practices" and HTML Specification.. maybe even taste - </p>
  
  <p>How do you would implement the header for all the pages?</p>