<meta>Baseline · Widely available
The <meta> element represents metadata about the page used by the browser or search engines, including description, keywords, and character sets.
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+Supportedsince Dec 11, 2008
Current: 155Edge
12+Supportedsince Jul 29, 2015
Current: 154Firefox
1+Supportedsince Nov 9, 2004
Current: 157Safari
1+Supportedsince Jun 23, 2003
Current: 27MobileChrome Android
18+Supportedsince Jun 27, 2012
Current: 155Firefox Android
4+Supportedsince Mar 29, 2011
Current: 157Safari iOS
1+Supportedsince Jun 29, 2007
Current: 27How to use
This feature is Baseline widely available — use it freely, no fallback needed.
Example
Full syntax and examples are on MDN: HTMLMetaElement.
Feature detection
JS · check before using
const el = document.createElement("meta");
if (!(el instanceof HTMLUnknownElement)) {
// <meta> is supported
}Specification
Sub-features
Support for each part of the feature (12). The overall table above shows when the whole feature works.
| Sub-feature | Chrome | Edge | Firefox | Safari | Chrome Android | Firefox Android | Safari iOS |
|---|---|---|---|---|---|---|---|
| HTMLMetaElement | 1 | 12 | 1 | 1 | 18 | 4 | 1 |
| HTMLMetaElement.content | 1 | 12 | 1 | 1 | 18 | 4 | 1 |
| HTMLMetaElement.httpEquiv | 1 | 12 | 1 | 1 | 18 | 4 | 1 |
| HTMLMetaElement.media | 93 | 93 | 106 | 15 | 93 | 106 | 15 |
| HTMLMetaElement.name | 1 | 12 | 1 | 1 | 18 | 4 | 1 |
| meta | 1 | 12 | 1 | 1 | 18 | 4 | 1 |
| meta.charset | 1 | 12 | 1 | 3 | 18 | 4 | 2 |
| meta.content | 1 | 12 | 1 | ≤4 | 18 | 4 | ≤3.2 |
| meta.http-equiv | 1 | 12 | 1 | ≤4 | 18 | 4 | ≤3.2 |
| meta.http-equiv.content-type | ≤59 | 12 | 1 | ≤10.1 | ≤59 | 4 | ≤10.3 |
| meta.name | 1 | 12 | 1 | ≤4 | 18 | 4 | ≤3.2 |
| meta.name.referrer | 17 | 79 | 36 | 11.1 | 18 | 36 | 12 |