What is the role of the DOCTYPE declaration in an HTML document?
The DOCTYPE declaration informs the browser about the type and version of HTML being used, ensuring the page is rendered correctly. For HTML5, it looks like: