Which of the following is a way of embedding Client-side JavaScript code within HTML documents?

Which of the following is a way of embedding Client-side JavaScript code within HTML documents? Correct Answer External file specified by the src attribute of a “script” tag

The Client-side JavaScript code is embedded within HTML documents in four ways : Inline, between a pair of “script” tags From an external file specified by the src attribute of a “script” tag In an HTML event handler attribute, such as onclick or onmouseover In a URL that uses the special javascript: protocol.

Related Questions

Client-side JavaScript code is embedded within HTML documents in
When does JavaScript code appear inline within an HTML file?
Where can a JavaScript code be placed in an html page?
Which is the function in JavaScript that will print the current page in JavaScript?