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