HTML and CSS · Document structure
How pages are built
How pages are built
HTML describes structure. CSS controls presentation. The browser turns both into a visual page.
Use semantic tags (header, main, nav, article) so the document has meaning—not just divs.
Practice
Semantic HTML primarily helps with…