HTML Basic
All HTML topics∙ Chapter 53
HTML Basic
A basic HTML page needs a doctype, <html>, <head> and <body>. Everything visible goes in the body.
Minimal HTML5 starter
<!doctype html><html lang="en"><head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>My First Page</title></head><body> <h1>Hello HTML</h1> <p>This is a paragraph.</p></body></html>
✅Use semantic tags (like
<header> and <main>) as your page grows.