In this example, an external file named example.js is loaded into the page.
Processing of the page is halted while the external file is interpreted.
In XHTML documents, you can omit the closing tag, as in this example:
If both are provided, the script file is downloaded and executed while the inline code is ignored.
The <script> elements are interpreted in the order in which they appear in the page so long as the defer and async attributes are not present.
The first <script> element's code must be completely interpreted before the second <script> element begins interpretation.