Explain the purpose of the declaration.

The <!DOCTYPE html> declaration tells the browser that the document is an HTML5 document. It helps ensure that the HTML file is interpreted correctly.