Newton JS MCQ Quiz
  1. <script> </script>
    <javascript> </javascript>
    <scripting> </scripting>
    <js> </js>
  2. <p id="demo" >This is a demonstration.</p>
    document.getElementbyId("demo").innerHTML = "Hello World!";
    document.getElementbyName("p").innerHTML = "Hello World!";
    #demo.innerHTML = "Hello World!";
    document.getElement("p").innerHTML = "Hello World!";
  3. Both the <head> section and <body> section are correct
    the <head> Section
    the <body> section
    None
  4. <script src = "xxx.js">
    <script href = "xxx.js>
    <script name = "xxx.js>
    <script link ="xxx.js>
  5. alertBox("Hello World");
    alert("Hello World");
    msg("Hello World");
    msgBox("Hello World");