Home  »  HTML   »   script

This tag is used to add a javascript code to the HTML document.
If neither async or defer are used, an external script will be loaded and executed immediately.


represents the script is downloaded in parallel to parsing and executed as it's available.

  • none

represents the script that will be executed after the document has been parsed.

  • none

represents the mode of CORS request.

  • anonymous - A CORS request is performed without sending any credentials.
  • use-credentials - A CORS request is performed with sending any credentials.

represents URL of the script file

  • URL 

represents the media type

  • MIME-type

HTML script Example:

Edit Example