How to use <footer> tag?

The element is the complement to header and represents the footer for a section. A footer usually contains summary information about a section.

The element cannot be a descendent of the address or header element and cannot be a descendant of another footer element.

Example

        H1
        H2
    


    
        H1
    


    This is a text.