Congratulations - You have completed JavaScript : MCQ.
Your Score | : | %%SCORE%% |
Total Marks | : | %%TOTAL%% |
Rating | : | %%RATING%% |
Wrong Answers | : | %%WRONG_ANSWERS%% |
Your answers are highlighted below.
Question 1 |
In order to Hide JS to be shown as its page content ,which Comment is Used ?
/* ------ ------ */ | |
<!-- ---------------- ---------------- //--> | |
// -----------------
| |
<!-- ---------------- ---------------- --> |
Question 2 |
All modern browsers supports JS.
True | |
False |
Question 3 |
We use _______ style comment to prevent showing Java Script as Content in the old browsers.
JS | |
HTML | |
CSS | |
C |
Question 4 |
<html> <body> <script type="text/javascript"> <!-- document.print("Hello"); //--> </script> </body> </html>What will be the Output of the above Code ?
None of These | |
Will not print anything because of Comment. | |
Will Throw Error | |
Hello |
Question 4 Explanation:
Comment is used to prevent showing JS as page content in Old browsers.
Question 5 |
Which was the first browser to support JavaScript ?
Mozilla Firefox | |
Netscape | |
Google Chrome | |
IE |
Once you are finished, click the button below. Any items you have not completed will be marked incorrect.
There are 5 questions to complete.