HTML5

HTML5 Tutorial & Reference

Semantic structure, accessible forms, media performance, and native dialogs.

Clear
Popular:

HTML5 Learning Path

Follow the HTML5 Curriculum

Read the guides in order from fundamentals to production patterns, or jump to your current skill level.

Showing 19 of 49 guides

HTML5 Beginner

HTML Headings and a Logical Document Outline

How should h1 through h6 be used so the outline stays logical?

Semantic Structure 7 min
HTML5 Beginner

HTML Paragraphs, Line Breaks, and Readable Text

When should I use a paragraph instead of a br line break?

Semantic Structure 6 min
HTML5 Beginner

HTML5 Semantic Landmarks: header, nav, main, and footer

How do I structure header, nav, main, article, section, aside, and footer?

Semantic Structure 8 min
HTML5 Intermediate

ARIA Basics: Roles, Labels, and When Not to Use Them

When should I add ARIA, and when is native HTML enough?

Semantic Structure 9 min
HTML5 Beginner

HTML Links: href, Absolute and Relative URLs, and rel

How do I write accessible links with safe href and rel values?

Semantic Structure 7 min
HTML5 Beginner

HTML Lists: ul, ol, dl, and Nested Navigation

How do I mark up unordered, ordered, and description lists?

Semantic Structure 7 min
HTML5 Intermediate

Accessible HTML Tables with thead, tbody, and scope

How do I associate table headers with their cells?

Semantic Structure 8 min
HTML5 Intermediate

HTML data-* Attributes and the dataset API

How do I store small configuration values on an element?

Semantic Structure 7 min
HTML5 Beginner

HTML Disclosure Widgets with details and summary

How do I build a native accordion without JavaScript?

Semantic Structure 6 min
HTML5 Intermediate

Accessible Modals with the HTML dialog Element

How do I open an accessible modal with the dialog element?

Semantic Structure 8 min
HTML5 Beginner

HTML figure and figcaption for Captioned Media

How do I attach a caption to an image or a code sample?

Semantic Structure 6 min
HTML5 Beginner

HTML time Element for Dates

How do I mark a date so machines and people can both read it?

Semantic Structure 6 min
HTML5 Intermediate

The HTML template Element

How do I store inert markup to clone with JavaScript?

Semantic Structure 8 min
HTML5 Beginner

progress and meter Elements

How do I show a completion amount in HTML?

Semantic Structure 7 min
HTML5 Beginner

The HTML mark Element for Search Highlights

How do I mark words that matched a search?

Semantic Structure 6 min
HTML5 Intermediate

The HTML Popover API

How do I open a small note without a dialog script?

Semantic Structure 6 min
HTML5 Beginner

The HTML search Landmark

How do I mark the site search form as a landmark?

Semantic Structure 6 min
HTML5 Beginner

The HTML download Attribute

How do I offer a file save instead of navigation?

Semantic Structure 6 min
HTML5 Beginner

The wbr Element for Optional Breaks

How do I let a long path wrap without adding spaces?

Semantic Structure 6 min

Need more coins?

You do not have enough coins for this action.

Your balance: 0 coins

Share

Reactions

Loading reactions…