A
Q. Which of the following Attribute is used to include External JS code inside your HTML Document
- Correct Answer - Option(A)
- Views: 18
- Filed under category JavaScript
- Hashtags:
A
The src attribute is used to include an external JavaScript file inside an HTML document. It specifies the path to the external .js file.
Example:
<script src="script.js"></script>
Other options:
Thus, the correct answer is (A) src.
You must be Logged in to update hint/solution
Be the first to start discuss.
Discusssion
Login to discuss.