Baseline Widely HTML elements
<script> and <noscript>
The <script> element contains or loads data or executable code. This is typically used to load JavaScript code. The <noscript> element represents alternative content to show when scripting is not allowed.
Baseline Status
Widely Available
Since 2015-07-29
First Core Launch
Firefox 1
2004-11-09
Core-3 Stability
1,493d (4.1y)
Last: Chrome (2008-12-11)
BCD Keys Mapped
17
Group: HTML elements
Browser Support Timeline
Browser Support Releases
| Browser | Type | Version | Release Date |
|---|---|---|---|
| Firefox | desktop | 1 | 2004-11-09 |
| Safari | desktop | 3 | 2007-10-26 |
| Safari on iOS | mobile | 2 | 2008-07-11 |
| Chrome | desktop | 1 | 2008-12-11 |
| Firefox for Android | mobile | 4 | 2011-03-29 |
| Chrome Android | mobile | 18 | 2012-06-27 |
| Edge | desktop | 12 | 2015-07-29 |
Constituent MDN BCD Keys (Sample)
| BCD Key | Area | Core-3 TTA |
|---|---|---|
| api.HTMLScriptElement | DOM API | 1,493d (4.1y) |
| api.HTMLScriptElement.async | DOM API | 545d (1.5y) |
| api.HTMLScriptElement.crossOrigin | DOM API | 71d |
| api.HTMLScriptElement.defer | DOM API | 613d (1.7y) |
| api.HTMLScriptElement.innerText | DOM API | 3,056d (8.4y) |
| api.HTMLScriptElement.src | DOM API | 1,493d (4.1y) |
| api.HTMLScriptElement.supports_static | DOM API | 314d |
| api.HTMLScriptElement.text | DOM API | 1,493d (4.1y) |
| api.HTMLScriptElement.textContent | DOM API | 1,493d (4.1y) |
| api.HTMLScriptElement.type | DOM API | 1,493d (4.1y) |
| html.elements.noscript | HTML | 1,493d (4.1y) |
| html.elements.script | HTML | 1,493d (4.1y) |
| html.elements.script.async | HTML | 406d (1.1y) |
| html.elements.script.crossorigin | HTML | 71d |
| html.elements.script.defer | HTML | 613d (1.7y) |
| html.elements.script.src | HTML | 1,672d (4.6y) |
| html.elements.script.type | HTML | 1,672d (4.6y) |