HTML is the markup language that gives every web page its structure. This roadmap takes you through it in study order, from what HTML is and how a browser renders it, to forms, media, semantic layout, accessibility, SEO markup and pre-launch testing. Each article answers one focused question, so you can read straight through or jump to the topic you need.
The roadmap has 16 parts. Early parts cover syntax, text, links, lists, tables and images. Later ones cover forms and validation, browser APIs such as dialog, canvas and localStorage, head metadata, structured data and WCAG-aware markup. It ends with portfolio-style projects and interview questions, so you finish with pages you built yourself.
This roadmap suits anyone who wants to build or understand web pages and has no prior coding experience. It also works as a structured reference for people who already know some HTML and want to fill gaps in forms, accessibility or SEO.
- Complete beginners starting web development from zero
- Students and career changers preparing for front-end roles or HTML interviews
- Designers and marketers who edit pages and need clean, valid markup
- Developers who learned HTML informally and want to learn semantic, accessible and SEO-ready practices
- Start with the first part and work in order, because later parts assume the syntax and elements covered earlier.
- Set up a code editor in part one and type every example yourself instead of copying it, then open the file in a browser.
- After each article, change the example: swap elements, break an attribute on purpose, and use browser DevTools to see what changed.
- Finish each part by combining its articles into one small page, such as a recipe page after text and lists, or a contact form after the forms parts.
- Run the validator and Lighthouse checks from the testing part on your own pages, then build the projects in the final part.
Learn what HTML is, how it evolved into the living standard, and how a browser turns markup into a page. You set up a code editor, create and open your first file, and use DevTools to inspect it. You also learn how HTML differs from CSS and JavaScript.
- Introduction to HTML: What It Is and How It Works
- What Is the HTML Living Standard and How Did HTML Evolve?
- What Is the Difference Between HTML and HTML5?
- How Does a Web Browser Turn HTML Into a Web Page?
- How Do You Set Up a Code Editor for Writing HTML?
- How Do You Create and Open Your First HTML File?
- HTML Basics: Build Your First Web Page Step by Step
- Simple HTML Page: Structure and Example for Beginners
- What Is the Difference Between HTML, CSS and JavaScript?
- How Do Browser DevTools Help You Inspect HTML?
This part covers the grammar of HTML: the document skeleton, DOCTYPE, the root element, void elements, block and inline behaviour, and comments. You also learn whitespace handling, entities, UTF-8 encoding, and the id, class, global, boolean and data attributes. Afterwards you can read and write well-formed markup confidently.
- HTML Document Structure and Boilerplate Explained
- What Is the DOCTYPE Declaration and Why Is It Required?
- What Does the html Element and the lang Attribute Do?
- HTML Elements Explained: Syntax, Types and Examples
- What Are Void Elements Like br and img in HTML?
- What Is the Difference Between Block and Inline Elements?
- HTML Attributes Explained: href, src, alt, width, height
- How Do You Write HTML Comments and When Should You Use Them?
- How Does HTML Handle Whitespace and Line Breaks in Source?
- What Are HTML Entities and How Do You Show Reserved Characters?
- How Do You Declare UTF-8 Character Encoding in HTML?
- What Are the id and class Attributes Used For in HTML?
- What Are Global Attributes in HTML?
- What Are Boolean Attributes in HTML and How Do They Work?
- How to Use data-* Custom Attributes in HTML (dataset)
Mark up headings, paragraphs, line breaks and horizontal rules, then move to inline elements such as strong, em, mark, code, abbr and time. You also learn quotations, subscript and superscript, correct use of div and span, and writing Hindi or other languages. You can then choose the element that carries the right meaning, not just the right look.
- HTML Headings, Paragraphs and Text Formatting Tutorial
- How to Add Paragraphs and Line Breaks in HTML
- How to Add a Horizontal Rule With the HTML hr Tag
- strong vs b in HTML: What Is the Difference?
- em vs i in HTML: What Is the Difference?
- How to Highlight Text With the HTML mark and small Tags
- How Do You Write Subscript and Superscript in HTML?
- How Do You Display Code With code, pre, kbd and samp?
- How Do You Write Quotations With blockquote, q and cite?
- How Do You Mark Abbreviations With the abbr Element?
- How Do You Show Dates and Times With the time Element?
- How Do You Use the span and div Elements Correctly?
- How Do You Write Hindi Text and Set Languages in HTML?
- Editing HTML Content: Source Files, contenteditable, ins
Create hyperlinks, understand absolute and relative URLs, and link to sections within a page. You cover opening links in a new tab safely, mailto and tel links, downloads, the rel attribute, image links and the base element. You finish by building navigation menus and breadcrumbs.
- How Do You Create a Hyperlink With the a Element?
- What Is the Difference Between Absolute and Relative URLs?
- How Do You Link to a Section on the Same Page?
- How Do You Open a Link in a New Tab Safely?
- How Do You Create mailto and tel Links in HTML?
- How Do You Make a File Download Link in HTML?
- What Does the rel Attribute Do on HTML Links?
- How Do You Make an Image a Clickable Link in HTML?
- What Is the base Element and When Should You Use It?
- How Do You Build a Navigation Menu With nav and Lists?
- How Do You Create Breadcrumb Navigation in HTML?
Build unordered, ordered, nested and description lists, including the start, reversed and type attributes. You then create tables with sections, merged cells, captions and column groups. You also learn to make tables accessible with th and scope, and responsive on small screens.
- How Do You Create an Unordered List in HTML?
- How Do You Create an Ordered List in HTML?
- How Do start, reversed and type Change an HTML Ordered List?
- How Do You Nest Lists Inside Lists in HTML?
- What Is a Description List (dl, dt, dd) in HTML?
- How Do You Create a Table in HTML Step by Step?
- How Do thead, tbody and tfoot Structure an HTML Table?
- How Do You Merge Cells With colspan and rowspan in HTML?
- How Do You Add a Caption and Column Groups to a Table?
- How Do You Make an HTML Table Accessible With th and scope?
- How Do You Make an HTML Table Responsive on Mobile?
Add images with the img element, choose between JPEG, PNG, WebP and other formats, and serve responsive images with srcset, sizes and picture. You also cover lazy loading, figure captions, image maps and inline SVG. The part closes with video and audio embedding, subtitles with track, and media attributes like controls and muted.
- How Do You Add an Image to a Web Page With the img Tag?
- Which Image Format Should You Use: JPEG, PNG, WebP or AVIF?
- How Do srcset and sizes Create Responsive Images?
- How Does the picture Element Handle Art Direction?
- How Do You Lazy Load Images With the loading Attribute?
- How Do figure and figcaption Add Captions to Content?
- How Do You Create a Clickable Image Map in HTML?
- How Do You Use Inline SVG Graphics in HTML?
- How Do You Embed a Video With the HTML video Element?
- How Do You Add Audio to a Page With the audio Element?
- How Do You Add Subtitles to Video With the track Element?
- What Do autoplay, controls, loop and muted Do on Media?
Learn why semantic elements matter and how header, footer, main, section, article and aside divide a page. You study heading hierarchy, details and summary, the search element, and when a plain div is still correct. You finish by assembling a full page layout from semantic parts.
- What Is Semantic HTML and Why Does It Matter?
- How Do header and footer Elements Work in HTML?
- What Is the main Element and How Many Can a Page Have?
- What Is the Difference Between section and article?
- What Is the aside Element Used For in HTML?
- How Should You Structure Heading Levels h1 to h6?
- How Do details and summary Create Collapsible Content?
- What Is the search Element in HTML?
- When Should You Use div Instead of a Semantic Element?
- How Do You Build a Full Page Layout With Semantic Elements?
Build forms with the form element, action and method, and understand GET versus POST. You work through labels, text inputs, textarea, checkboxes, radios, select, buttons, fieldset, datalist and the specialised input types for email, dates, colour, range and files. You can then assemble the common controls into a working form.
- HTML Forms: Inputs, Labels and Built-in Validation
- How Do the form Element, action and method Attributes Work?
- What Is the Difference Between GET and POST in HTML Forms?
- How Does the label Element Connect to a Form Input?
- How Do You Create Text, Password and Textarea Fields?
- How Do You Use Checkboxes and Radio Buttons in HTML?
- How Do You Create a Dropdown With select and option?
- What Is the Difference Between button Types in HTML?
- How Do fieldset and legend Group Related Form Controls?
- How Does the datalist Element Add Input Suggestions?
- Types of Search Bar in HTML and JavaScript With Examples
- What Are the email, url, tel and number Input Types?
- How Do You Use Date and Time Input Types in HTML?
- How Do You Use the color and range Input Types?
- How Do You Create a File Upload Field in HTML?
- How Do progress and meter Elements Show Values?
Validate input in the browser with required, minlength, pattern, min, max and step, and learn when to use novalidate. You also cover the Constraint Validation API, autocomplete, multipart enctype and accessible error messages. You apply it all by building complete contact, login and signup forms.
- How Do required, minlength and maxlength Validate Input?
- How Do You Validate Input With the pattern Attribute?
- How Do min, max and step Limit Numeric and Date Inputs?
- How Do You Turn Off Validation With novalidate?
- What Is the Constraint Validation API in the Browser?
- How Does the autocomplete Attribute Speed Up Forms?
- What Does enctype multipart/form-data Mean in a Form?
- How Do You Show Accessible Error Messages in HTML Forms?
- How Do You Build a Contact Form in HTML Step by Step?
- How Do You Build a Login and Signup Form in HTML?
Use built-in interactive features: dialog modals, the popover attribute and the hidden attribute. You add JavaScript with script, async and defer, and handle noscript fallbacks. You also try drag and drop, web storage, geolocation, canvas, templates, custom elements and Shadow DOM.
- How Do You Create a Modal With the HTML dialog Element?
- How Does the popover Attribute Work in HTML?
- How Does the hidden Attribute Differ From CSS display none?
- How Do You Add JavaScript to HTML With the script Tag?
- What Is the Difference Between async and defer Scripts?
- What Is the noscript Element and When Is It Used?
- How Does Drag and Drop Work With the draggable Attribute?
- How Do localStorage and sessionStorage Work in HTML5?
- How Do You Get a User's Location With the Geolocation API?
- How Do You Draw Shapes on the HTML canvas Element?
- What Is the template Element and How Do You Use It?
- What Are Custom Elements and Shadow DOM in HTML?
Embed other pages with iframe and lock them down with the sandbox attribute. You learn how to add YouTube videos and Google Maps, and where the object and embed elements still fit. After this part you can embed third-party content without hurting security or layout.
- How Do You Embed Another Web Page With an iframe?
- How Does the iframe sandbox Attribute Improve Security?
- How Do You Embed a YouTube Video or Google Map in HTML?
- What Are the object and embed Elements in HTML?
Configure the document head: title, meta viewport, stylesheets, favicons and the web app manifest. You learn resource hints such as preload, prefetch and preconnect, Open Graph and Twitter Card tags for sharing, and a Content Security Policy meta tag. Pages then load faster and look right when shared.
- How Do You Write a Good HTML title Element?
- What Does the meta viewport Tag Do for Mobile Pages?
- How Do You Link a CSS Stylesheet in HTML?
- How Do You Add a Favicon to Your Website?
- What Do preload, prefetch and preconnect Do in HTML?
- How Do You Add Open Graph Tags for Social Sharing?
- How Do You Add Twitter Card Meta Tags to a Page?
- How Does a Content Security Policy Meta Tag Work?
- How Do You Create a Web App Manifest for Your Site?
Learn the markup search engines read: meta descriptions, semantic structure, canonical tags, robots and noindex, and hreflang for multilingual pages. You add JSON-LD structured data and FAQ schema, use nofollow, sponsored and ugc link values, and optimise images with alt text and file names.
- How Do You Write a Meta Description That Gets Clicks?
- How Does Semantic HTML Help SEO?
- What Is a Canonical Tag and How Do You Add It?
- How Does the Robots Meta Tag and noindex Work?
- How Do You Use hreflang for Multilingual Pages?
- What Is JSON-LD Structured Data and How Do You Add It?
- How Do You Add FAQ Schema Markup to an HTML Page?
- What Do nofollow, sponsored and ugc Link Values Mean?
- How Do You Optimise Images for SEO With Alt and File Names?
Understand web accessibility and WCAG, then write useful alt text and use ARIA only where native HTML falls short. You cover aria-label, aria-live, landmark roles, tabindex, skip links, button versus link choice, colour contrast and accessible modals. You can then check a page with a keyboard and screen reader mindset.
- What Is Web Accessibility and What Is WCAG?
- How Do You Write Good Alt Text for Images?
- What Is ARIA and When Should You Use It?
- How Do aria-label and aria-labelledby Name Elements?
- How Does aria-live Announce Dynamic Content Changes?
- What Are ARIA Landmark Roles and Which Elements Map to Them?
- How Does tabindex Control Keyboard Focus Order?
- How Do You Add a Skip Link for Keyboard Users?
- Should You Use a Button or a Link in HTML?
- What Colour Contrast Do WCAG Guidelines Require?
- How Do You Make a Modal Dialog Accessible?
Validate markup with the W3C validator, lint it with HTMLHint, and test across browsers and devices. You audit pages with Lighthouse, learn common beginner mistakes and deprecated elements, and finish with a pre-launch checklist. Your pages become clean, consistent and ready to publish.
- How Do You Validate HTML With the W3C Validator?
- How Do You Lint HTML Code With HTMLHint?
- How to Test HTML Pages: Validation, Accessibility, Browsers
- How Do You Test an HTML Page in Different Browsers?
- How Do You Audit an HTML Page With Lighthouse?
- What Are the Most Common HTML Mistakes Beginners Make?
- Which HTML Elements and Attributes Are Deprecated?
- How to Test an HTML Page: A Final Pre-Launch Checklist
Apply the roadmap by building a portfolio page, a landing page, a responsive navbar and a pricing table, and by converting a PSD design to HTML. You then review top HTML interview questions and see what to learn next to become a front-end developer.
- How Do You Build a Personal Portfolio Page With HTML?
- How Do You Build a Landing Page in HTML and CSS?
- How Do You Build a Responsive Navbar With HTML and CSS?
- How Do You Build a Pricing Table in HTML and CSS?
- How to Convert a PSD to HTML: Step-by-Step Guide
- What Are the Top HTML Interview Questions and Answers?
- What Should You Learn After HTML to Become a Web Developer?
Most beginners learn the core elements, links, lists, tables and images in two to four weeks of regular practice. Forms, semantic layout, accessibility and SEO markup take a few more weeks. Writing real pages is what makes it stick.
No. HTML is markup, not a programming language, so you only need a computer, a browser and a text editor. The first part walks you through setting up the editor and creating your first file.
Learn HTML first, because CSS styles elements that HTML creates. Once you can structure a page with headings, lists, links and forms, move on to CSS and then JavaScript.
HTML alone is rarely enough, but it is the required base for front-end work. Pair it with CSS, JavaScript and a framework, and use the projects and interview part to show you can apply it.
Learn CSS for layout and styling, including Flexbox and Grid, then JavaScript for interactivity. After that, pick a framework such as React and practise by building and deploying small sites.
This HTML roadmap lists 16 parts in study order, from first page and syntax through text, links, lists, tables, media, semantic layout, forms, validation, browser APIs, embedding, head metadata, SEO markup, accessibility, testing and projects. Work through it in sequence, practise each article in your own editor, and finish with the projects and interview preparation.