HTML Roadmap 2026
Structure web content with semantic, accessible, well-formed HTML: documents, text, media, forms and SEO basics.
4 stages · 8 units · Beginner · about 30 hours · Last reviewed 19 November 2026
What is a html?
HTML, or HyperText Markup Language, is the standard markup language for structuring web pages. It uses elements such as headings, paragraphs, links, images, tables and forms to describe content, and browsers, search engines and assistive technologies read that structure. Every website is built on HTML, usually styled with CSS and scripted with JavaScript.
Step-by-step html roadmap
- 1
Document Basics
Beginner · about 8 hours
The skeleton of a page.
- Structure
HTML structure is the skeleton every page shares: the doctype, the html element with a lang attribute, a head for metadata and a body for visible content. Within the body, headings from h1 to h6, paragraphs, lists and links organise text. Correct nesting and a logical heading order make a page readable by people and machines.
- Semantics
Semantic HTML means choosing elements by meaning rather than appearance. Landmarks such as header, nav, main, article, section, aside and footer describe page regions, while blockquote, cite, code and pre mark quotations and code. Browsers, search engines and screen readers use these meanings to navigate and interpret content.
- Structure
- 2
Media and Data
Beginner · about 8 hours
Beyond text.
- Media
HTML media elements embed images, audio, video and other content into a page. The img element needs an alt attribute and dimensions, picture and srcset serve different files to different screens, audio and video provide native players, and iframe embeds external pages. Each choice affects accessibility and load speed.
- Data
HTML data presentation covers tables for tabular information and graphics for drawn content. A table uses caption, thead, tbody, th and td with scope attributes so relationships between headers and cells are clear. Inline SVG and the canvas element provide vector and pixel graphics directly in the page.
- Media
- 3
Forms and Interaction
Beginner · about 8 hours
Collect input.
- Forms
HTML forms collect user input and send it to a server. A form element wraps controls such as input, select, textarea and button, each tied to a label. Input types like email, number and date give mobile keyboards and built-in validation, and attributes such as required and pattern check values before submission.
- Interactive Elements
Interactive elements in HTML provide behaviour without JavaScript. The details and summary pair makes a disclosure widget, dialog creates a modal or non-modal window, and buttons and links handle actions and navigation. Used with correct roles, focus order and ARIA only where needed, they keep a page keyboard and screen reader friendly.
- Forms
- 4
Metadata and Quality
Intermediate · about 6 hours
Make it discoverable.
- Head Metadata
Head metadata is the information in the head element that describes a page rather than displaying it. The title and meta description appear in search results, the viewport tag controls mobile layout, canonical links consolidate duplicate URLs, and Open Graph tags shape link previews. Resource hints like preload and preconnect help pages load faster.
- Quality
HTML quality is the habit of checking markup for errors and fixing them. The W3C validator reports unclosed tags and invalid nesting, browser developer tools inspect the live DOM, and accessibility checkers such as Lighthouse flag missing labels or poor contrast. Catching problems early prevents odd rendering across browsers.
- Head Metadata
Frequently asked questions
Ready to practise for interviews?
Practise html questions with an AI mock interviewer and get feedback on your answers.