coderef

<output>Baseline · Widely available

The &#x3C;output> element represents the result of a calculation, user action, or form entry.

Supported in all major browsers for at least 30 months — safe to use without fallbacks. Baseline since Invalid Date. Widely available since Invalid Date.

Browser support

DesktopChrome
1–9Not supported
10+Supportedsince Mar 8, 2011
Current: 155
Edge
12–17Not supported
≤18+Supportedsince Oct 2, 2018
Current: 154
Firefox
1–3.6Not supported
4+Supportedsince Mar 22, 2011
Current: 157
Safari
1–6Not supported
7+Supportedsince Oct 22, 2013
Current: 27
MobileChrome Android
18+Supportedsince Jun 27, 2012
Current: 155
Firefox Android
4+Supportedsince Mar 29, 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: HTMLOutputElement.

Feature detection

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

Sub-features

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

Sub-featureChromeEdgeFirefoxSafariChrome AndroidFirefox AndroidSafari iOS
HTMLOutputElement91445.11845
HTMLOutputElement.defaultValue91445.11845
HTMLOutputElement.form91445.11845
HTMLOutputElement.htmlFor91445.11845
HTMLOutputElement.labels918565.118565
HTMLOutputElement.name91445.11845
HTMLOutputElement.type91445.11845
HTMLOutputElement.value91445.11845
output10≤18471847
output.for10≤18471847
output.form10≤18471847
output.name10≤18471847