footer

<footer> element – represents content that forms the footer  for the section it applies to.

Usage: typically one places a footer at the bottom of a web page to include information and links to copyright, terms of use, privacy policies and similar items. In recent past, there has been an increased use of “fat footers.” These are footers which contains a significant site map in addition to the above information.

Permitted Content: style elements and flow content. The <footer> element must not be a descendant of the <address>, <footer>, or <header> elements.

Tag omission: both start and end tag must be present.

Example code:

<footer>
<p><strong>Random Quote</strong><br />
“What is the use of a fine house if you have not got a tolerable planet to put it on?”<br />
by Henry David Thoreau</p>
<p><a href=”#”>Learning HTML5</a> | <a href=”#”>Copyright</a> &#169; 2011 <a href=”#”>Mark DuBois</a>. | <a href=”#”>Privacy Policy</a> | <a href=”#”>Terms of Use</a></p>
</footer>

Example page (opens in a new tab/ window – view source code):

Default display properties: display: block.

Common Attributes: typical global attributes only.

Permitted Parent Elements: any element which can contain flow elements.

References:

Leave a Reply

Your email address will not be published. Required fields are marked *