When does JavaScript code appear inline within an HTML file?
(a) Between the “script” tag
(b) Outside the “script” tag
(c) Between or Outside the “script” tag
(d) Between the header tag
This question was addressed to me in an online interview.
My question is taken from Embedding JavaScript in HTML topic in section Server-Side and Client-Side Scripting of JavaScript