Which attribute of the <script> tag is used to delay script execution until after the document is parsed?

A). type='defer'

B). async='false'

C). defer='true'

D). defer

Which attribute can be used to include a JavaScript file asynchronously?

A). async='true'

B). defer='async'

C). type='async'

D). async

What is the purpose of using external JavaScript files instead of inline code?

A). To reduce code redundancy and promote code reusability.

B). To execute JavaScript code asynchronously.

C). To ensure inline code executes before external code.

D). To improve security by isolating JavaScript code.

What is the purpose of using the async attribute in the <script> tag?

A). To ensure the script is executed after the document is parsed.

B). To execute the script synchronously.

C). To load the script asynchronously, improving page load performance.

D). To delay script execution until user interaction.

Which attribute is used to specify the location of an external JavaScript file in the <script> tag?

A). href

B). url

C). src

D). location