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

A). async='true'

B). defer='async'

C). type='async'

D). async

When including multiple <script> tags in an HTML document, what determines the order of script execution?

A). The order in which the <script> tags appear in the HTML document.

B). The order specified by the async attribute in each <script> tag.

C). The alphabetical order of the script filenames.

D). The defer attribute in each <script> tag.

What is the purpose of including the defer attribute in a <script> tag?

A). To execute the script asynchronously.

B). To delay script execution until after the document is parsed.

C). To specify the scripting language used in the script.

D). To load an external script file.

In which scenario is it beneficial to use the defer attribute in the <script> tag?

A). When the script should be executed synchronously.

B). When the script is critical for page functionality and must execute immediately.

C). When the script can be loaded asynchronously and executed after the document is parsed.

D). When the script must be executed before the document is fully loaded.