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 16 of 49 guides

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 Intermediate

Responsive Images with picture, srcset, and lazy Loading

How do I serve sharp images without wasting mobile bandwidth?

Media & Performance 9 min
HTML5 Intermediate

HTML Script Loading with defer, async, and type=module

How do I load JavaScript without blocking HTML parsing?

Media & Performance 8 min
HTML5 Intermediate

HTML Form Methods: GET versus POST

When should a form use GET instead of POST?

Accessible Forms 9 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 Intermediate

Accessible Modals with the HTML dialog Element

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

Semantic Structure 8 min
HTML5 Intermediate

Sandboxed iframes

How do I embed a page without giving it your site privileges?

Media & Performance 8 min
HTML5 Intermediate

Open Graph Meta Tags

Which meta tags control a link preview title and image?

Document Structure 7 min
HTML5 Intermediate

The HTML template Element

How do I store inert markup to clone with JavaScript?

Semantic Structure 8 min
HTML5 Intermediate

Autocomplete Tokens on Inputs

How do I help browsers fill a checkout form correctly?

Accessible Forms 8 min
HTML5 Intermediate

The HTML Popover API

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

Semantic Structure 6 min
HTML5 Intermediate

inputmode for the Right Mobile Keyboard

How do I open a numeric keyboard without type=number?

Accessible Forms 6 min
HTML5 Intermediate

The HTML output Element

How do I show a calculated result inside a form?

Accessible Forms 6 min
HTML5 Intermediate

Hidden Fields and What Not to Trust

What is a hidden input for, and what must the server ignore?

Accessible Forms 6 min
HTML5 Intermediate

Embed with iframe

How do I embed another page or map?

Components 1 min

Need more coins?

You do not have enough coins for this action.

Your balance: 0 coins

Share

Reactions

Loading reactions…