Question: Which statement is true about the "async" attribute for the HTML script tag?
- It can be used for both internal and external JavaScript code.
- It can be used only for internal JavaScript code.
- It can be used only for internal or external JavaScript code that exports a promise.
- It can be used only for external JavaScript code.
Answer: The correct answer of the above question is Option D:It can be used only for external JavaScript code.