title: HTML Header and footer in all pages while printing html document
body: <p>I've created a html page with a header,some content and a footer. I tried to get a print of the HTML page, and there was 2 pages. I got the header in first page and the footer in the last page.</p>
  <p>What i really need is the header and footer to show in all the pages like in a word document.</p>
  <p>I checked and found that using the table format with the thead and tfoot,it can be done.
  It worked in firefox and IE, but it's not working in chrome. Is this some webkit browser compatibility problem??</p>
  <p>Is there any other way which is compatible with all browsers.</p>
  <p>Update: As of April 2021, the bug is still open <a href="https://bugs.webkit.org/show_bug.cgi?id=17205" rel="nofollow noreferrer">https://bugs.webkit.org/show_bug.cgi?id=17205</a>. as mentioned below by SHAKU here <a href="https://stackoverflow.com/a/34884220/2776433">https://stackoverflow.com/a/34884220/2776433</a></p>