Interview Questions

HTML5 Header, Footer and Article Elements

Header Element:
Header element is used to represent the Header of a section mainly for headings and subheadings.

Footer Element:
Footer element is used to capture the footer of a section.
Example: Capturing the Copyright details.

Article Element:
Article element represents the content of the document like Blog entry, comments, data, article etc

<html>
<head>
<title>HTML5 Header, Footer and Article Element Demo</title>
</head>

<body>
<header>
<h1>Techdive Demo</h1>
</header>

<article>
<p>Deep Dive in to Technology</p>
<p>Best in its class for Java, Spring and SNMP</p>
</article>

<footer>
© Copyright 2013 Techdive.in
</footer>
</body>
</html>