HTML Mastery Roadmap
10-day structured path from document structure to portfolio-ready semantic pages
What is HTML?
Markup for web structure—headings, links, forms, and media. HTML5 adds semantic elements and modern APIs. See our HTML tutorial.
Why Learn HTML?
- Foundation for all web UIs
- SEO & accessibility
- Interview essentials
Who Should Learn?
- Beginners & students
- Career switchers
- CMS / content editors
Prerequisites
Text editor, modern browser, no prior coding. Save files as .html and open in the browser. Next: CSS and JavaScript.
| Day | Topics | Practice | Key Concepts |
|---|---|---|---|
| Day 1 |
HTML Basics - Document structure - Head vs Body - Basic tags (h1-p, div, span) |
Create simple page | DOCTYPE declaration |
| Day 2 |
Lists & Links - Ordered/Unordered lists - Anchor tags - Relative vs absolute paths |
Navigation menu | href attributes |
| Day 3 |
Tables - Table structure - Merging cells - Accessibility features |
Product comparison table | scope attribute |
| Day 4 |
Media - Image tags - Picture element - Audio/Video embedding |
Media gallery | srcset attribute |
| Day 5 |
Forms - Input types - Form validation - Semantic form elements |
Contact form | required attribute |
| Day 6 |
Semantic HTML - Header/Footer - Article/Section - Landmark roles |
Blog layout | ARIA attributes |
| Day 7 |
Responsive Design - Viewport meta - Media queries - Responsive images |
Mobile-friendly page | viewport width |
| Day 8 |
SEO & Metadata - Meta tags - Structured data - Favicons |
SEO-optimized page | meta description |
| Day 9 |
HTML5 APIs - Local Storage - Geolocation - Canvas basics |
Browser storage demo | sessionStorage |
| Day 10 |
Final Project - Portfolio website - All concepts combined - Validation |
Complete website | HTML validation |
Pro Tips
- Use W3C Validator daily
- Practice with CodePen/JSFiddle
- Bookmark MDN HTML Docs
Phase 1: HTML Foundations (Days 1–3)
In the first three days you build the skeleton of every page you will publish. Day 1 introduces the document model: <!DOCTYPE html>, the <html> root, and the split between <head> (metadata) and <body> (visible content). You learn block vs inline elements, heading hierarchy (h1–h6), paragraphs, and containers <div> and <span>. Practice by building a simple About Me page and validate it with the W3C validator.
Day 2 focuses on navigation and lists. Ordered lists suit steps; unordered lists suit features. Anchor tags connect pages—learn relative vs absolute paths. Build a mini-site with nav linking Home, Projects, and Contact. Day 3 covers tables: <thead>, <tbody>, colspan, and scope for accessibility. Build a product comparison table; never use tables for page layout.
Phase 2: Media, Forms & Semantics (Days 4–6)
Day 4: embed images with descriptive alt text; use <picture> and srcset for responsive images; add audio/video without plugins. Day 5: forms—input types, required, pattern, and labels tied with for. Build a contact form and test keyboard navigation. Day 6: semantic HTML5 landmarks (header, nav, main, article, footer) instead of div-only layouts.
Common mistakes: Missing alt text, div soup without semantics, unlabeled form fields, and broken heading hierarchy.
Phase 3: Responsive Markup & SEO (Days 7–8)
Day 7: viewport meta tag, responsive images, and mobile-first structure. Day 8: title, meta description, canonical URLs, Open Graph tags, favicons, and JSON-LD basics—the same SEO patterns used on professional learning sites. Write one article page with a single h1, logical subheadings, and internal links to the roadmaps hub.
Phase 4: APIs & Portfolio Project (Days 9–10)
Day 9 introduces localStorage, geolocation, and canvas at a demo level. Day 10: capstone portfolio combining semantics, forms, media, tables, SEO meta tags, and W3C-valid markup—your proof of skill before CSS.
Learning Tips & Study Habits
- Split time: 40% reading (MDN), 60% typing markup.
- Rebuild the same page twice—messy draft, then clean version.
- View source on quality sites to study professional structure.
- Use the HTML cheatsheet during practice sessions.
Interview Preparation
Expect questions on semantic tags, block vs inline, form validation, alt vs aria-label, and button vs a. Practice marking up a card and a contact form without autocomplete. Present your Day 10 portfolio and explain one accessibility decision you made.
After This Roadmap You'll Be Able To
- Build structured, semantic web pages from scratch
- Create accessible forms and data tables
- Embed multimedia with modern HTML5
- Apply SEO-friendly meta tags and heading structure
- Move confidently to CSS and JavaScript roadmaps