Q. Which of the following is a way of embedding Client-side JavaScript code within HTML documents?
β
Correct Answer: (B)
External file specified by the src attribute of a “script” tag
Explanation: The Client-side JavaScript code is embedded within HTML documents in four ways :