HTML Syntax — a practical guide to HTML syntax with clear examples you can reuse in real projects.
HTML Tutorial Series (3/79). Prefer one article? Read the complete HTML tutorial.
Short description
Most elements have opening/closing tags. Void elements like `img` and `br` do not wrap content.
Syntax basics
<p class="lead">Hello <strong>world</strong></p>
<img src="photo.jpg" alt="A lake at sunset">