Question:- In HTML 5.0, how will the script be executed if you use the script element shown below?
<script src=”script.js” type=”text/javascript” defer=”defer”></script>

a. The script is fetched and executed immediately, before the user agent continues parsing the page.
b. The script will be executed when the page has finished parsing. 
c. The script will be executed asynchronously, as soon as it is available.

Leave a Reply

Your email address will not be published. Required fields are marked *