The script element either contains scripting statements or it points to an external script file
through The source attribute.
The type attribute is required in HTML 4, but optional in HTML5.
The "async" attribute is new in HTML5.
Some HTML 4.01 attributes are not supported in HTML5.
Note: There are several ways a script can be executed:
The async attribute is "true": The script will be executed asynchrously with the rest
of the page, so the script will be executed while the page continues the parsing.
The async attribute is "false", but the defer attribute is "true": The script
will be executed when the page is finished with the parsing.
Both the async attribute and the defer attribute is "false": The script will be
executed immediately, and the page will wait for the script to finish before continuing the
Hint: If there is a src attribute, the <script> element must be empty.
Your Query was successfully sent!