A
Q. JavaScript can be written
- Correct Answer - Option(D)
- Views: 23
- Filed under category JavaScript
- Hashtags:
A
JavaScript can be written in multiple ways:
Directly into a .js file and included into an HTML page
Directly on the server page
Directly into HTML pages using the <script> tag
Thus, JavaScript supports all these methods, making (D) all of the mentioned the correct answer.
<script>
alert("Hello, JavaScript!");
</script>
<script src="script.js"></script>
You must be Logged in to update hint/solution
Be the first to start discuss.
Discusssion
Login to discuss.