JavaScript MCQ : JS Basics (Multiple Choice Questions)
Question 1 |
We can embed JS code inside HTML directly ?
True | |
False |
Question 2 |
JavaScript Code can be called by using _________.
RMI | |
Function / Method | |
Triggering Event | |
Preprocessor |
Question 3 |
Select all the correct option(s). State the correct place of JS Code inside HTML -
Inside Single JavaScript File | |
All of these | |
Inside Head | |
Inside Body |
Question 4 |
Is this correct syntax to include JS Code inside HTML Page ?
<script type="text/javascript"> ... </script>
No | |
Yes |
Question 5 |
We cannot Place JS Code in the body tag . Say true/false.
True | |
False |
Question 5 Explanation:
We can include JS Code inside body tag or in head tag.
There are 5 questions to complete.