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

A). async='true'

B). defer='async'

C). type='async'

D). async

What attribute of the <script> tag allows asynchronous loading of scripts?

A). type='async'

B). async='true'

C). defer='async'

D). async

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

A). It specifies the version of HTML used in the document.

B). It specifies the scripting language used in the script.

C). It defines the content type of the script file.

D). It indicates whether the script is inline or external.

Which scenario is ideal for using the async attribute in the <script> tag?

A). When the script must be executed in a specific order.

B). When the script contains critical functionality that should not be delayed.

C). When the script can be executed independently and does not depend on other scripts or document elements.

D). When the script must be executed after the document is parsed.