HTML Example
HTML5<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>My First HTML Page</title>
</head>
<body>
<h1>Hello HTML5</h1>
<p>This page has structure, meaning, and content.</p>
</body>
</html>Key Points
- HTML defines the structure and meaning of web content.
- Browsers parse HTML into the DOM before painting the page.
- A valid page starts with a doctype, html, head, and body.
Study Notes
- doctype tells the browser to use standards mode.
- lang helps browsers, translation tools, and assistive technology.
- The body contains visible page content.
Practice Task
Create a basic HTML file with a title, heading, paragraph, and link.
