When does JavaScript code appear inline within an HTML file?

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
 
Answer: a
Explanation: JavaScript code can appear inline within an HTML file between the “script” tags. Javascript can also be included from an external file specified by the src attribute of a “script” tag.
 

Tìm kiếm

Back
Top