COMPUTER NETWORKS AND COMMUNICATIONS
INTERNET AND WEB TECHNOLOGIES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
JavaScript can be written-( may select multiple answers)
|
directly into JS file and included into HTML
|
|
directly into HTML pages
|
|
directly on the Server Script
|
|
None of these
|
Explanation:
Detailed explanation-1: -Today, JavaScript can execute not only in the browser, but also on the server, or actually on any device that has a special program called the JavaScript engine.
Detailed explanation-2: -In HTML, JavaScript code is inserted between <script> and </script> tags.
Detailed explanation-3: -Explanation: 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.
There is 1 question to complete.