Every HTML page follows a standard structure. This is the skeleton of every website you build.
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
Content goes here
</body>
</html>
Definition: Declares that the document is written in HTML5.
Rule: Must be placed at the top of the document.
<!DOCTYPE html>
Definition: The root element of the HTML document.
Rule: All HTML code must be written inside the <html> tag.
<html> <!-- All tags go here --> </html>
Definition: Contains metadata (information about the webpage).
<head> <title>My Website</title> </head>
Definition: Contains the visible content of the webpage.
<body> <h1>Hello World</h1> <p>This is my webpage.</p> </body>