HTML Course¶
HTML describes what each part of a page is: a heading, a paragraph, a link, a table, or a form field. This track starts with the structure of a single element and ends with a complete page made from semantic sections.
You do not need any previous HTML experience. Work through the chapters in order.
Start with Elements and Page Structure
Getting started¶
- Elements and Page Structure: tags, elements, attributes, nesting, and the page skeleton.
- Headings: how to outline a page and why one
<h1>is enough. - Heading Levels: a quick reference for
<h1>to<h6>with practice.
Text¶
- Paragraphs: how paragraphs, line breaks, and thematic breaks differ.
- Text Blocks: the exact syntax for
<p>,<br>, and<hr>. - Build Your First Page: put headings and paragraphs together in one page.
- Emphasis and Meaning: choose between
<strong>,<b>,<em>,<i>, and<mark>. - Code and Technical Text: mark up code, keyboard keys, program output, and variables.
- Small Semantic Tags: abbreviations, dates, edits, subscripts, and superscripts.
- Quotations: inline quotes, block quotes, and citing a source.
- Address and Fine Print: contact information and secondary text.
Links, images, and lists¶
- Links: link to pages, sections, email addresses, and other websites.
- Images: image sources, alt text, dimensions, and captions.
- Lists: unordered, ordered, nested, and description lists.
Data and input¶
- Tables: rows, columns, headers, captions, and data that belongs in a table.
- Forms: labels, inputs, buttons, and a complete registration form.
Page structure¶
- Grouping Content: when to use
<div>,<section>, and<span>. - Page Landmarks:
<header>,<nav>,<main>,<footer>,<article>, and<aside>.
What you should be able to do at the end¶
- Read an HTML file and explain what each element is for.
- Build a page with a clear heading outline and correctly nested elements.
- Add links, images, lists, tables, and forms.
- Choose semantic elements instead of wrapping everything in
<div>. - Check your own page for missing labels, alt text, and closing tags.
The CSS track uses the same pages and adds presentation. Continue there when you can build a simple HTML page without copying the examples.