The <?xml version="1.0"?> Declaration for HTML

The XML declaration is one of the declaration tags in HTML and is the first line of code in an HTML document. It is an SGML declaration that defines:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

The XML declaration may be ignored when the document is being parsed as HTML, but is relevant when: