Tutorial 1: Hello HTML
Published • 8 min read
Overview
Your first valid HTML5 document.
This page is part of the HTML Dev Docs portal, a comprehensive demonstration of HTML5 semantic markup without CSS or JavaScript.
The HTML Living Standard defines the semantics of HTML elements and their attributes.
Your First HTML Page
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hello HTML</title>
</head>
<body>
<main>
<h1>Hello, HTML5!</h1>
<p>Welcome to your first valid HTML document.</p>
</main>
</body>
</html>
Output: Hello, HTML5!