<footer> Tag Syntax
Rules for coding HTML footer
elements
<body> ... ... flow content expected ... <footer> ... flow content ... </footer> ... </body>
- Inside an element where flow content is allowed, code one or more optional footer elements.
- 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. - Include any HTML global attributes on the <footer> tag as appropriate.
- End the footer element with a matching
</footer>
closing tag. - 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.