HTML and CSS Reference
In-Depth Information
<footer> (Footer)
This HTML5 element represents the footer section of a document or a section element it is
contained within. Like a typical document footer in print, it should contain supplementary
information about the related content.
HTML5 Standard Syntax
<footer
accesskey="spaced list of accelerator key(s)"
class="class name(s)"
contenteditable="true | false | inherit"
contextmenu="id of menu"
data-X="user-defined data"
dir="ltr | rtl"
draggable="true | false | auto"
hidden="hidden"
id="unique alphanumeric identifier"
itemid="microdata id in URL format"
itemprop="microdata value"
itemref="space-separated list of IDs that may contain microdata"
itemscope="itemscope"
itemtype="microdata type in URL format"
lang="language code"
spellcheck="true | false"
style="style information"
tabindex="number"
title="advisory text">
</footer>
HTML5 Event Attributes
onabort, onblur, oncanplay, oncanplaythrough, onchange, onclick,
oncontextmenu, ondblclick, ondrag, ondragend, ondragenter, ondragleave,
ondragover, ondragstart, ondrop, ondurationchange, onemptied, onended,
onerror, onfocus, onformchange, onforminput, oninput, oninvalid, onkeydown,
onkeypress, onkeyup, onload, onloadeddata, onloadedmetadata, onloadstart,
onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onmousewheel,
onpause, onplay, onplaying, onprogress, onratechange, onreadystatechange,
onscroll, onseeked, onseeking, onselect, onshow, onstalled, onsubmit,
onsuspend, ontimeupdate, onvolumechange, onwaiting
Example
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title> Document Footer </title>
</head>
<body>
<header><h1> Welcome to the Example </h1></header>
<p> Yes it is another boring example. </p>
<footer><p> &copy; 2010 Boring Examples, Inc. </p></footer>
Search WWH ::




Custom Search