HTML: Structuring Websites
Learn how to structure content semantically so that browsers and assistive technologies understand your website.
10 chapters · 80 lessonsBeginner friendlyFreeRuns in the browser
What you will learn
- Understand the structure of a page
- Add navigation and media
- Express the meaning of sections
- Build usable inputs
- Create complete documents
- Apply learned structure independently
- Make websites accessible to everyone
- Optimize content for search engines
- Improve load times via correct HTML
- Use special HTML features
Course content
Chapter 1 Website and Document
Understand the structure of a page
- Browser, files and preview
- Document skeleton
- Elements and attributes
- Headings and paragraphs
- Fix nesting
- First content page
- HTML syntax check
- HTML challenge: Structure
Chapter 2 Connecting content
Add navigation and media
- Internal and external links
- Relative file paths
- Lists
- Images and alt text
- Meaningful link text
- Small gallery with navigation
- Path debugging
- HTML challenge: Navigation
Chapter 3 Semantic page structure
Express the meaning of sections
- header, main and footer
- Navigation with nav
- section and article
- Meaningful heading hierarchy
- Choosing button vs link
- Structure product page semantically
- Semantics check
- HTML challenge: Semantics
Chapter 4 Forms
Build usable inputs
- Label and text field
- Appropriate input types
- Selection fields
- Required fields and native validation
- Groups and help text
- Contact form as local demo
- Form debugging
- HTML challenge: Forms
Chapter 5 Metadata and other content
Create complete documents
- Page title and description
- Language and viewport
- Data tables with headings
- Audio/video with accessible alternative
- Examine faulty page structure
- Complete information page
- Meta check
- HTML challenge: Metadata
Chapter 6 Multi-page project
Apply learned structure independently
- Plan pages and content
- Build home page
- Build detail page
- Add contact/info page
- Check links and keyboard navigation
- Complete project
- Project review
- HTML final challenge
Chapter 7 Accessibility (A11y) Basics
Make websites accessible to everyone
- Understanding ARIA roles
- Contrast and readability
- Keyboard navigation
- Screen reader optimization
- Lang attribute and language changes
- Accessible form design
- A11y audit
- HTML challenge: Accessibility
Chapter 8 SEO basics for HTML
Optimize content for search engines
- Title tags and meta descriptions
- Canonical tags
- Structured data (JSON-LD)
- Open Graph tags
- Sitemap structure
- Optimize SEO landing page
- SEO debugging
- HTML challenge: SEO
Chapter 9 Performance and assets
Improve load times via correct HTML
- Image formats and srcset
- Lazy loading
- Including scripts and styles
- Preload and prefetch
- SVG embedding
- Performance dashboard page
- Load time analysis
- HTML challenge: Performance
Chapter 10 Advanced HTML concepts
Use special HTML features
- Web components (basics)
- Dialog element
- Details and summary
- Iframe security
- HTML templates
- Interactive app structure
- Feature detection
- HTML master challenge
How each lesson works
No hour-long videos. Each lesson is a short loop you complete yourself, until the idea sits.
Read
A short explanation and one clear task. Just enough to get going.
Write
You type the code yourself, in a real editor right in the browser.
Run
Run it and see what your program actually does, straight away.
Check
Check tells you whether the task is solved, and what is missing if not.
Good to know
- Nothing to install: editor, output and checks run in your browser tab.
- Start as a guest without an account; your progress stays on this device.
- A free Ostrae account syncs progress and settings across devices and unlocks the MICA coach.