script
Contains or references executable JavaScript code.
Description
The <script> element is part of the Scripting category in HTML.
Basic Example
Script elements execute JavaScript code.
Attributes
This element supports global attributes.
Accessibility
Accessibility considerations for the <script> element will be documented here.
Related Elements
<noscript>- Fallback content when scripts are disabled<template>- HTML template for JavaScript use