The <header> Element

The <header> element specifies a header for a document or section. This element should be used as a container for introductory content. You can have several header elements in one document. The following example defines a header for an article:

<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>

What Does WWF Do?

WWF's mission:

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.

The above sample seems to be a waste of time... Here is an earlier example which uses the <header> element in a more sensible way.

Back button Table of Contents Next button