CodeLab Academy 📞 9936 6696
← Lessons 🎨 HTML + CSS for Beginners

Headings, paragraphs and text

## Headings There are 6 levels of headings. `<h1>` is the biggest and `<h6>` is the smallest. ```html <h1>Big heading</h1> <h2>Subheading</h2> <h3>Small heading</h3> ``` ## Paragraphs ```html <p>This is one paragraph.</p> <p>This is the next paragraph.</p> ``` ## Making text stand out | Tag | Job | Example | |---|---|---| | `<strong>` | **Bold** | `<strong>important</strong>` | | `<em>` | *Italic* | `<em>very</em>` | | `<br>` | Line break (no closing tag) | `One<br>Two` | | `<hr>` | Horizontal line | `<hr>` | | `<sub>` | Subscript | `H<sub>2</sub>O` | > 🧩 Problems: **HTML/CSS → Level 1, 2**
← Previous Next →

💡 Want to track which lessons you've read and solve problems for points? Sign up for free or log in.