InterviewSolution
Saved Bookmarks
| 1. |
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» Correct option is (a) Between the “script” tag To elaborate: 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. |
|