<!DOCTYPE html>
: Declares the document as HTML5.<html lang="en">
: The root element with the language attribute.<head>
: Contains metadata, links to stylesheets, and the document title.<meta charset="UTF-8">
: Sets the character encoding to UTF-8.<meta name="viewport" content="width=device-width, initial-scale=1.0">
: Ensures proper scaling on mobile devices.<title>
: Specifies the title of the document.
HTML provides various tags for structuring text content: