Professional HTML Example
This document demonstrates a professional HTML page structure.
Example HTML Code
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My Website</title>
</head>
<body>
<header>
<h1>Welcome to My Website</h1>
</header>
<main>
<p>This is a sample professional HTML page.</p>
</main>
<footer>
<p>© 2026 My Website</p>
</footer>
</body>
</html>
Explanation
DOCTYPE defines the HTML version. The head section contains metadata and the page title. The
body contains visible content such as header, main content, and footer.