HTML
Curriculum
HTML · Frontend

HTML Tutorial

A complete HTML path from beginner to pro - documents, semantic layout, forms, media, accessibility, SEO basics, and real page projects.

65 lessonsBeginner → ProFrontend
Start from the beginning

Curriculum

Work through each section in order. Every lesson ends with practice and key points so the idea sticks.

Beginner

Getting Started

5 lessons · ~45 min
  1. 1
    What is HTML?

    Learn what HTML is, how it structures web pages, and how it works with CSS and JavaScript.

  2. 2
    Anatomy of an HTML Document

    Learn the required pieces of a valid HTML page: doctype, html, head, and body.

  3. 3
    Headings and Paragraphs

    Use heading levels and paragraphs to organize readable page content.

  4. 4
    Comments and Whitespace

    Learn how HTML comments work and how browsers treat spaces and blank lines.

  5. 5
    View Source and DevTools

    Inspect real HTML with View Source and browser DevTools so you can learn from live pages.

Beginner

Text & Links

5 lessons · ~47 min
  1. 6
    Bold, Italic, and Text Formatting

    Format text with strong, em, mark, and related inline elements for meaning and emphasis.

  2. 7
    Ordered and Unordered Lists

    Create bullet lists and numbered lists with ul, ol, and li elements.

  3. 8
    Links and Anchors

    Connect pages and sections with anchor elements, href values, and link targets.

  4. 9
    Images with img

    Add images with the img element, including src, alt, width, and height attributes.

  5. 10
    Figures and Captions

    Group images or media with captions using figure and figcaption.

Beginner

Page Structure

6 lessons · ~57 min
  1. 11
    Block vs Inline Elements

    Understand how block-level and inline elements flow differently on a page.

  2. 12
    Semantic HTML Intro

    Learn why semantic elements make pages clearer for people, browsers, and assistive tools.

  3. 13
    header, nav, and main

    Build page landmarks with header, navigation, and main content regions.

  4. 14
    section and article

    Group thematic content with section and self-contained pieces with article.

  5. 15
    aside and footer

    Add complementary side content and footers with aside and footer elements.

  6. 16
    When to Use div and span

    Learn the right role for generic div and span containers after semantic options.

Beginner

Forms Basics

5 lessons · ~52 min
  1. 17
    Forms Intro

    Learn what HTML forms are and how form, input, and submit pieces work together.

  2. 18
    Common Input Types

    Explore useful input types such as text, email, password, number, checkbox, and radio.

  3. 19
    Labels and Buttons

    Connect labels to controls correctly and choose the right button types for forms.

  4. 20
    Textarea and Select

    Collect longer text with textarea and choose options with select and option elements.

  5. 21
    Form Attributes (action, method)

    Control where form data goes and how it is sent with action, method, and related attributes.

Beginner

First Pages

4 lessons · ~47 min
  1. 22
    Tables Basics

    Present tabular data with table, thead, tbody, tr, th, and td elements.

  2. 23
    Meta Charset and Viewport

    Set character encoding and mobile viewport so pages render correctly on modern devices.

  3. 24
    Mini Project: Profile Page

    Build a complete beginner profile page that combines structure, media, links, and a contact form.

  4. 25
    Beginner Review

    Review the core HTML beginner skills and check that you can build a sound first page.

Intermediate

Media & Embeds

5 lessons · ~66 min
  1. 26
    Audio and Video

    Embed audio and video with native HTML controls, multiple sources, captions, and practical playback attributes.

  2. 27
    iframes and Embeds

    Embed maps, videos, and other documents with iframe, and learn title, sandbox, and loading practices.

  3. 28
    picture and srcset

    Serve responsive images with srcset, sizes, and the picture element for art direction and format choice.

  4. 29
    Inline SVG Basics

    Add scalable vector graphics directly in HTML for icons and simple illustrations that stay crisp on any screen.

  5. 30
    Favicons and Icons

    Add favicons, touch icons, and theme-related icon links so browsers and devices show your site identity clearly.

Intermediate

Accessible HTML

5 lessons · ~65 min
  1. 31
    Accessibility Intro

    Learn why accessible HTML matters and the core ideas of perceivable, operable, understandable, and robust content.

  2. 32
    Meaningful Alt Text

    Write alternative text that communicates image purpose, and know when empty alt is the correct choice.

  3. 33
    Landmarks and ARIA Basics

    Structure pages with landmark elements and use ARIA only when native HTML is not enough.

  4. 34
    Focus and Keyboard Access

    Make interactive HTML usable with the keyboard through natural focus order, focusable controls, and skip links.

  5. 35
    Accessible Forms

    Label controls clearly, associate errors with fields, and group related inputs so forms work with assistive tech.

Intermediate

Advanced Forms

5 lessons · ~63 min
  1. 36
    Validation Attributes

    Use required, type, min, max, minlength, maxlength, pattern, and related attributes for built-in form checks.

  2. 37
    Fieldset and Legend

    Group related form controls with fieldset and legend so radio sets and question groups are clear.

  3. 38
    Datalist and Range Inputs

    Offer autocomplete suggestions with datalist and collect numeric scales with range inputs.

  4. 39
    File Upload Inputs

    Build file inputs with accept filters, multiple selection, and clear labels for upload forms.

  5. 40
    Practical Form Patterns

    Combine labels, fieldsets, validation, and autocomplete into real-world contact and checkout-style forms.

Intermediate

Document Skills

5 lessons · ~63 min
  1. 41
    Document Outline

    Build a clear heading hierarchy and section structure so pages are easier to scan and navigate.

  2. 42
    Meta Tags and SEO Basics

    Write titles, descriptions, language, and essential meta tags that help search and social understanding.

  3. 43
    Open Graph Basics

    Add Open Graph and Twitter-style meta tags so shared links show the right title, description, and image.

  4. 44
    link rel Stylesheets and Preload

    Connect CSS and prepare critical assets with link rel stylesheet, preload, and related resource hints.

  5. 45
    Script Loading Basics

    Understand default script loading versus async and defer so pages stay interactive without blocking rendering.

Intermediate

Projects

3 lessons · ~50 min
  1. 46
    Project: Blog Article Page

    Build a complete blog article page with landmarks, headings, media, meta tags, and accessible structure.

  2. 47
    Project: Landing Page Structure

    Structure a marketing landing page with a focused hero region, feature sections, and an accessible signup form.

  3. 48
    Intermediate Review

    Review media, accessibility, forms, and document skills from the intermediate HTML path with a practical checklist.

Advanced

Modern HTML

5 lessons · ~77 min
  1. 49
    The dialog Element

    Build accessible modals and lightboxes with the native HTML dialog element, showModal, and form method dialog.

  2. 50
    details and summary

    Create disclosure widgets, FAQs, and progressive disclosure with native details and summary elements.

  3. 51
    template Element Basics

    Use the HTML template element to hold inert markup you can clone into the page with JavaScript.

  4. 52
    Custom Elements Intro

    Learn the basics of custom elements: defining a class, registering a tag, lifecycle callbacks, and attributes.

  5. 53
    data-* Attributes

    Store custom data on elements with data-* attributes and read them safely from CSS and JavaScript.

Advanced

Quality & Standards

5 lessons · ~76 min
  1. 54
    Validating HTML

    Catch structural mistakes early with validators, doctype rules, and habits that keep markup maintainable.

  2. 55
    Progressive Enhancement

    Design HTML that works first as content and forms, then layer CSS and JavaScript as enhancements.

  3. 56
    Content Security Basics for Markup

    Write HTML with fewer XSS and injection risks: safe embedding, careful scripts, and CSP-friendly patterns.

  4. 57
    lang, dir, and i18n

    Prepare pages for multiple languages with lang, dir, translate hints, and writing-system aware markup.

  5. 58
    Print-Friendly Markup

    Structure pages so printing and PDF output stay readable: semantics, link clarity, and print CSS hooks.

Advanced

Capstones

7 lessons · ~119 min
  1. 59
    Capstone: Documentation Site Structure

    Plan and mark up a small documentation site with navigation, article layout, code samples, and landmarks.

  2. 60
    Capstone: Portfolio Markup

    Mark up a personal portfolio with a strong hero region, project list, and contact path using semantic HTML.

  3. 61
    Capstone: Checkout Form

    Build an accessible multi-section checkout form with labels, autocomplete, validation attributes, and error messaging hooks.

  4. 62
    Reusable HTML Patterns

    Standardize breadcrumbs, cards-as-interactions, empty states, and other HTML patterns for a consistent design system.

  5. 63
    Production HTML Checklist

    Use a practical pre-launch checklist for document setup, semantics, forms, media, and resilience.

  6. 64
    HTML5 APIs Overview

    Connect advanced HTML to browser APIs: canvas, drag and drop, geolocation, storage, and more, from a markup-first view.

  7. 65
    Next Steps After HTML

    Choose a learning path after advanced HTML: CSS architecture, accessibility depth, JavaScript, frameworks, and content systems.