The <footer>
tag
Content inside the <footer>
tag will be placed at the very end
of the page, beneath the rest of the content.
The footer tag can contain any sort of HTML code, which will get appended to the rest of the body content.
The footer tag is frequently used in a settings file, where content needs to appear after the body content instead of before it.
If you use multiple footer tags (e.g. one in the settings file and another in a specific page) all content will be aggregated in one footer.
Attributes
- generatediv: Indicates if you want to generate a
<div id="footer>
or not? The default is to indicate the footer using a comment in the HTML code, but no<div>
tag. Usegeneratediv="1"
to generate a div. Multiple<footer>
tags will only generate one<div id="footer">
.
Example
If your settings.xml file contains this footer:
<footer generatediv="1">
Copyright © The Corbon Corporation. Some Rights Reserved.</footer>
Then every page including that settings file will have this at the bottom of the page:
Copyright © The Corbon Corporation. Some Rights Reserved.