Space for google add

To change HTML element.

 

Write Javascript code to change HTML element. (Using getElementById .)

Programme:-

<html>

      <body>

             <p Id="demo"> Hello , Good Morning </p>

                  

                   <script language = "javascript">

 

       document.getElementById("demo").innerHTML= "Hi, Good night"

 

                  </script>

      </body>

</html>









Post a Comment

0 Comments