coderef

<progress>Baseline · Widely available

The &#x3C;progress> element displays an indicator showing the completion progress of a task, typically displayed as a progress bar.

Supported in all major browsers for at least 30 months — safe to use without fallbacks. Baseline since Jul 29, 2015. Widely available since Jan 29, 2018.

Browser support

DesktopChrome
1–5Not supported
6+Supportedsince Sep 2, 2010
Current: 155
Edge
12+Supportedsince Jul 29, 2015
Current: 154
Firefox
1–5Not supported
6+Supportedsince Aug 16, 2011
Current: 157
Safari
1–5.1Not supported
6+Supportedsince Jul 25, 2012
Current: 27
MobileChrome Android
18+Supportedsince Jun 27, 2012
Current: 155
Firefox Android
4–5Not supported
6+Supportedsince Aug 16, 2011
Current: 157
Safari iOS
1–6Not supported
7+Supportedsince Sep 18, 2013
Current: 27

How to use

This feature is Baseline widely available — use it freely, no fallback needed.

Example

Full syntax and examples are on MDN: HTMLProgressElement.

Feature detection

JS · check before using
const el = document.createElement("progress");
if (!(el instanceof HTMLUnknownElement)) {
  // <progress> is supported
}

Sub-features

Support for each part of the feature (8). The overall table above shows when the whole feature works.

Sub-featureChromeEdgeFirefoxSafariChrome AndroidFirefox AndroidSafari iOS
HTMLProgressElement612661866
HTMLProgressElement.labels61856618566
HTMLProgressElement.max612661866
HTMLProgressElement.position612661866
HTMLProgressElement.value612661866
progress612661867
progress.max612661867
progress.value612661867