<footer> Tag Syntax

Rules for coding HTML footer elements
<body>
   ...
   ... flow content expected ...
   <footer>
      ... flow content ...
   </footer>
   ...
</body>
  1. Inside an element where flow content is allowed, code one or more optional footer elements.
  2. Begin each footer element with a starting <footer> tag. The element name uses lower case letters and should be in the HTML namespace, which it will pick up automatically from the xmlns attribute on the <html> tag.
  3. Include any HTML global attributes on the <footer> tag as appropriate.
  4. End the footer element with a matching </footer> closing tag.
  5. Inside the footer element, code the appropriate flow content.

<footer> Content Model

Content of the <footer> Tag

The content of the footer element can include HTML comments, text content and any tags that can be used in flow content except for other <footer> tags or <header> tags.