34,333
edits
Changes
→The <script> element
= The <script> element =
JavaScript is embedded into HTML and XHTML documents using the ''<script>'' element. This element can be used to embed the javaScript JavaScript directly into the web page(also known as ''inline''), or to specify an external file that contains the JavaScript.
The ''<script>'' element is used with a number of attributes: