Widely Available
HTML elements
id: script
<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:
Achieved Widely Available on Jan 29, 2018 (Cross-browser Newly Available since Jul 29, 2015).
Desktop Browser Engine Support
Google Chrome
1
Supported
Mozilla Firefox
1
Supported
Apple Safari
3
Supported
Microsoft Edge
12
Supported
Mobile Browser Engine Support
Chrome Android
18
Firefox Android
4
Safari iOS
2
Specifications and References
MDN Browser Compat Data Keys:
api.HTMLScriptElement ↗
api.HTMLScriptElement.async ↗
api.HTMLScriptElement.crossOrigin ↗
api.HTMLScriptElement.defer ↗
api.HTMLScriptElement.innerText ↗
api.HTMLScriptElement.src ↗
api.HTMLScriptElement.supports_static ↗
api.HTMLScriptElement.text ↗
api.HTMLScriptElement.textContent ↗
api.HTMLScriptElement.type ↗
html.elements.noscript ↗
html.elements.script ↗
html.elements.script.async ↗
html.elements.script.crossorigin ↗
html.elements.script.defer ↗
html.elements.script.src ↗
html.elements.script.type ↗