This element <header> may contain logo, hgroup (h1-h6, headings), search box, menu, pop up alert, date & time and advertisement. Don't get it confused with <head> element; the <head> element is before <body> element — but this <header> element is inside <body> element.
Example:
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Story</title>
</head>
<body>
<article>
<header> <h1> Story: Narrow Scape </h1> </header>
<p> Once upon a time [...]</p>
</article>
</body>
</html>
Comments
Post a Comment