HTML Course

The first step to making a website.

Learn HTML5 — the backbone of every website. Structure content, work with semantic tags, forms, media, and accessibility.

Level: Beginner · 100 lessons · Start lesson 1 · Interview questions

Curriculum

  1. HTML Introduction — HTML is the skeleton of every web page — meet the language that powers the entire internet.
  2. HTML vs CSS vs JavaScript — Three layers of the web — what each one does and why beginners confuse them.
  3. HTML History & Versions — From HTML 1.0 in 1991 to modern HTML5 — meet the milestones every web dev should know.
  4. HTML How the Web Works — URLs, DNS, HTTP, browsers, servers — the round-trip behind every web page in 60 seconds.
  5. HTML Setup & Tools — Editor, browser, live preview, dev tools — the smallest setup that makes HTML feel productive.
  6. HTML First HTML Page — Build, save, and run your very first HTML program in VS Code — the absolute starting line of web development.
  7. HTML File Structure — How professional projects organise files — folders for HTML, CSS, JS, images, fonts.
  8. HTML Document Structure — Every HTML page has the same skeleton — DOCTYPE, html, head, body. Master the structure once and write any page.
  9. HTML DOCTYPE — What `<!DOCTYPE html>` is, why it must be first, and what happens if you skip it.
  10. HTML html, head, body Tags — The three structural tags every page needs — and what each one is responsible for.
  11. HTML Meta Tags — charset, viewport, description, keywords, robots — the metadata that makes pages discoverable.
  12. HTML Title & Favicon — The browser tab text + the tiny icon — first impressions of every site.
  13. HTML Headings — h1 → h6 — the six levels of heading that structure every document and feed search engines.
  14. HTML Paragraphs — The `<p>` tag — the workhorse of body text and how browsers handle whitespace.
  15. HTML Line Break & HR — `<br>` for line breaks and `<hr>` for thematic separators — two tiny tags with specific jobs.
  16. HTML Bold, Italic, Underline — `<b>`, `<i>`, `<u>` — the visual formatting trio, and why semantic alternatives often win.
  17. HTML Strong & Emphasis — Why `<strong>` and `<em>` are the right semantic choice — and how screen-readers treat them.
  18. HTML Subscript & Superscript — `<sub>` and `<sup>` — the chemistry- and math-friendly tags for tiny offset text.
  19. HTML Anchor Tag — `<a href>` — the original hyperlink, the one tag that built the web.
  20. HTML Internal & External Links — Linking within your site vs out to the wider web — and the right `rel` for each.
  21. HTML Open in New Tab — `target="_blank"` opens links in a new tab — and why you must always pair it with `rel`.
  22. HTML Bookmark Links — Linking within the same page using `id` and `#` — the foundation of every Table of Contents.
  23. HTML Email & Phone Links — `mailto:` and `tel:` — links that open email clients and phone dialers in one tap.
  24. HTML Media Embeds — Embed images, audio, video and external content — turn static text pages into rich multimedia experiences.
  25. HTML Image Tag — `<img>` — display images on the web with the right size, alt text, and loading strategy.
  26. HTML Image Attributes — All the `<img>` attributes — srcset, sizes, decoding, fetchpriority — for production-grade images.
  27. HTML Audio — `<audio>` — embed sound, podcasts, sound effects with native browser controls.
  28. HTML Video — `<video>` — embed videos with poster, controls, multiple sources, and accessible captions.
  29. HTML Iframe — `<iframe>` — embed another page inside yours (Maps, YouTube, payment forms).
  30. HTML Ordered List — `<ol>` for numbered sequences — perfect for steps, rankings, top-N lists.
  31. HTML Unordered List — `<ul>` for bulleted lists — the default for navigation, tags, and any unordered set.
  32. HTML Description List — `<dl>` for term-definition pairs — the underused but powerful structure for glossaries and metadata.
  33. HTML Nested Lists — Lists inside lists — the structure behind multi-level menus, tables of contents, and outlines.
  34. HTML Table Basics — `<table>`, `<tr>`, `<th>`, `<td>` — the four tags that build every spreadsheet on the web.
  35. HTML Table Rows & Columns — Building tables row-by-row — and the column logic implied by `<col>` and `<colgroup>`.
  36. HTML Table Borders — From `border="1"` to modern `border-collapse` — making tables look professional.
  37. HTML Colspan & Rowspan — Merging cells across columns and rows — for headers, totals, and grouped data.
  38. HTML Table Sections — `<thead>`, `<tbody>`, `<tfoot>`, `<caption>` — semantic structure for tables.
  39. HTML Forms & Inputs — Forms collect user data — master inputs, validation and submission to build any signup, login or checkout page.
  40. HTML Form Basics — `<form>`, `action`, `method` — how data leaves the browser and reaches your server.
  41. HTML GET vs POST — The two main HTTP methods used by forms — when to pick which, and why.
  42. HTML Input Types — Text, email, password, number, date — modern HTML5 input types do half your validation.
  43. HTML Labels & Placeholders — `<label>`, `for`, `id`, `placeholder` — accessible form fields done right.
  44. HTML Radio & Checkbox — Single-choice radio buttons and multi-choice checkboxes — the two binary input flavours.
  45. HTML Select Dropdown — `<select>` and `<option>` — dropdowns for long lists where radio would be clutter.
  46. HTML Textarea — `<textarea>` — multi-line text input for messages, comments, code, posts.
  47. HTML Buttons — `<button>`, `type` attribute, and the difference between submit, reset, and plain buttons.
  48. HTML Form Validation — Built-in HTML5 validation — `required`, `pattern`, `minlength`, `min`, `type` — most validation, zero JS.
  49. HTML Semantic Tags — Use the *right* tag for the job — semantic HTML powers accessibility, SEO and clean code.
  50. HTML Semantic Elements Introduction — Why semantic tags (`<header>`, `<nav>`, `<article>`) beat generic `<div>` for SEO + accessibility.
  51. HTML Header & Footer — Top-of-page and bottom-of-page semantic containers — branding, nav, copyright.
  52. HTML Section & Article — `<section>` for thematic groups; `<article>` for self-contained pieces — when to use which.
  53. HTML Nav & Aside — `<nav>` for primary navigation, `<aside>` for sidebar / tangential content.
  54. HTML Main — `<main>` — exactly one per page, holds the unique content. Screen readers' best friend.
  55. HTML Block Elements — Block elements — full-width by default, stack vertically (div, p, header, section, article).
  56. HTML Inline Elements — Inline elements flow within text — span, a, strong, em, img, button.
  57. HTML Inline-Block — `display: inline-block` — the hybrid that flows like inline but sizes like block.
  58. HTML Div vs Span — The two semantic-less containers — and when each is the right pick.
  59. HTML id & class — `id` (unique) and `class` (reusable) — the two attributes CSS and JavaScript hook into.
  60. HTML Data Attributes — `data-*` — custom attributes for storing per-element data without breaking HTML.
  61. HTML Title Attribute — `title="..."` — the tooltip on hover, useful for icon-only buttons and abbreviations.
  62. HTML Hidden Attribute — `hidden` — a one-word way to hide an element from rendering and accessibility.
  63. HTML Contenteditable — `contenteditable` — turn any element into a live editable text field.
  64. HTML Reserved Characters — Why `<`, `>`, `&`, `"` are special — and how to escape them in HTML.
  65. HTML Common Entities — Cheat sheet of frequently-used HTML entities — copyright, em-dash, non-breaking space.
  66. HTML Symbols & Emojis — Mathematical symbols, currency, arrows, and yes — emojis directly in your HTML.
  67. HTML Geolocation API — Get the user's latitude and longitude with `navigator.geolocation` — with a permission prompt.
  68. HTML Drag & Drop API — Native drag-and-drop with `draggable` + `dragstart`/`drop` events — no libraries needed.
  69. HTML Web Storage — `localStorage` and `sessionStorage` — key/value databases in the browser, no server needed.
  70. HTML Canvas Basics — `<canvas>` — a programmable bitmap surface for games, charts, and image manipulation.
  71. HTML Canvas Drawing Shapes — Rectangles, paths, arcs, gradients — the canvas drawing toolkit.
  72. HTML SVG Basics — Inline `<svg>` — vector graphics in HTML, scalable, styleable, accessible.
  73. HTML SVG Shapes — `<rect>`, `<circle>`, `<line>`, `<polygon>`, `<path>` — the SVG drawing primitives.
  74. HTML SEO Meta Tags — title, description, robots, canonical — the meta tags Google reads first.
  75. HTML Open Graph — OG tags — make your links look beautiful when shared on Twitter, Facebook, LinkedIn, Slack.
  76. HTML Structured Content — JSON-LD `<script>` schema — the markup that makes Google show stars, prices, and recipes.
  77. HTML SEO Best Practices — Heading hierarchy, mobile-friendly design, fast loading — the on-page SEO checklist.
  78. HTML Accessibility & SEO — Build pages that everyone can use — and that Google loves to rank.
  79. HTML Accessibility Introduction — What a11y is, why it matters, and the 4 WCAG principles every dev should know.
  80. HTML ARIA — ARIA roles, states, properties — bridging the gap between custom UI and screen readers.
  81. HTML Alt Text — `alt` on `<img>` — the most important accessibility attribute. Done right, every time.
  82. HTML Semantic Importance — Why `<button>` over `<div onclick>` — semantic tags are accessibility for free.
  83. HTML Responsive Viewport — `<meta name="viewport">` — the one tag that makes every page mobile-friendly.
  84. HTML Responsive Images — `srcset` + `sizes` + `picture` — serve the right image to each device, save bandwidth.
  85. HTML Picture Element — `<picture>` deep dive — art direction, format fallbacks, density swaps.
  86. HTML Mobile Structure — Mobile-first thinking — layout, touch targets, sticky elements that work on small screens.
  87. HTML Clean Code — Indentation, naming, structure — habits that separate junior from senior HTML.
  88. HTML Indentation — 2 vs 4 spaces vs tabs — the eternal debate, and why consistency wins.
  89. HTML Naming — Class and id naming — kebab-case, BEM, utility classes — pick a system, stick to it.
  90. HTML Performance — Lazy loading, defer, async, preload — the HTML attributes that boost page speed for free.
  91. HTML Add CSS — Three ways to add CSS: external `<link>`, internal `<style>`, inline `style=` — and when each is right.
  92. HTML Add JavaScript — Three ways to add JS: external `<script src>`, internal `<script>`, inline `onclick=` — best practice today.
  93. HTML External Libraries — Bootstrap, Tailwind, jQuery, Font Awesome — wiring up the most popular CDN libraries.
  94. HTML Project — Portfolio Page — Build a single-page portfolio with hero, about, projects, and contact sections.
  95. HTML Project — Resume Website — Build an online HTML resume that prints beautifully and ranks in Google for your name.
  96. HTML Project — Blog Layout — Build a blog layout with article list, post page, and reading-time estimate.
  97. HTML Project — Landing Page — Build a high-converting landing page — hero, features, testimonials, CTA, footer.
  98. HTML Project — Multi-page Website — Build a 4-page website — Home, About, Blog, Contact — with shared header / footer.
  99. HTML Exam Questions — HTML5 theory + tags + structure questions repeatedly asked in 1st-year exams and web-tech vivas.
  100. Viva Questions — 20 short HTML viva Q&A.