Fundamental HTML document structure, DOCTYPE, head and body sections, and basic tags.
This is a basic HTML page. It uses the DOCTYPE declaration, a <head> section with metadata, and a <body> section for content.
HTML stands for HyperText Markup Language. It is the standard language for creating web pages.
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>My First HTML Page</title> </head> <body> <h1>Hello, World!</h1> <p>This is a basic HTML page.</p> <hr> <p>HTML stands for <em>HyperText Markup Language</em>.</p> </body> </html>
<h1>Heading 1 — Main Title</h1> <h2>Heading 2 — Section</h2> <h3>Heading 3 — Subsection</h3> <h4>Heading 4</h4> <h5>Heading 5</h5> <h6>Heading 6 — Smallest</h6>
HTML allows you to include special characters using entities:
<>&© <!-- This is an HTML comment — it won't be displayed --> <p> < — less than <br> > — greater than <br> & — ampersand <br> © — copyright <br> — non-breaking space </p>