<header>عنصر ; سرصفحه ای را برای یک سند یا بخش مشخص می کند.

عنصر <header> باید به عنوان محفظه ای برای مقدمه استفاده شود.محتوا.

شما می توانید چندین عنصر <header> را در یک سند داشته باشید.

مثال زیر یک هدر را براییک مقاله:


Example




<article>

  <header>

   
<h1>What Does WWF Do?</h1>

    <p>WWF's mission:</p>

  </header>

  <p>WWF's mission is to stop the degradation of our planet's natural environment,
  and build a future in which humans live in harmony with nature.</p>

</article>