HTML & CSS
Your First HTML Page
An HTML document is plain text with tags that label each piece of content. The browser reads those labels and renders the page. Ten minutes from now you will have built one.
Key Concepts
- Skeleton: <!DOCTYPE html>, <html>, <head> (metadata) and <body> (visible content)
- <title> sets the browser-tab text; <meta charset="utf-8"> supports all languages
- Headings <h1>–<h6> express hierarchy; <p> wraps paragraphs
- Tags usually come in pairs: <p>content</p>; a few are self-closing like <br> and <img>
- Save as index.html, open in a browser, edit, refresh — that is the whole development loop
Try It Yourself
Create index.html from scratch with the full skeleton, a title, one h1 and two paragraphs about yourself. Open it in a browser and edit-refresh three times.