XML technologies / HTML & XHTML / Alphabetical list of HTML and XHTML elements / header

(Excerpt from "HTML & XHTML ─ kurz & gut" by Jennifer Niederst Robbins)

A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z

   

header

HTML 5

<header> ... </header>

Contains information at the start of a section, usually a heading. However, the header element can also contain navigation links, advertising banners, introductions and similar content. It may contain any inline elements, but no other header or footer elements.

Notes

HTML 5 only.

Start/end tag

Required/required

Attributes

Global HTML 5 attributes

Example

<body>
<header>
  <nav><ul><li>Über uns</li><li>Startseite</li></nav>
  <h1>Weiße Hasen</h1>
  <p>Willkommen auf der Weiße-Hasen-Fanseite.</p>
</header>
<h2>Hasen-Sichtungen</h2>
... (weiteres Markup) ...
</body>

 

> back to the alphabetical list of elements

   

 

 

 

back to top