New! My 44-page ebook "CSS in 44 minutes" is out! 😃

Get it now →

# script

Defines a container for an external script.

Example: Copy

<script src=""></script>

Example: Copy

<script type="text/javascript">
  console.log('Hello World');


Defines the source of the external script.


The URL can be relative or absolute.


Defines the MIME type of the external script.


This is for .js files.


Allows the external script to be loaded asynchronously.

No value required.