Skip to main content

HTML Guide

Free site validation

Find out what web pages on your sites are affected by HTML issues.

The element “footer” must not appear as a descendant of the “header” element.

A <header> section can’t include any <footer> section inside.

The footer element represents a footer for its nearest ancestor sectioning content or sectioning root element. A footer typically contains information about its section such as who wrote it, links to related documents, copyright data, and the like.

Footers don’t necessarily have to appear at the end of a section, though they usually do. In any case, they can’t go nested inside a <header> section.

Learn more:

Related W3C validator issues