Embedding Javascript In HTML

When we adding Javascript code to HTML page then it must be in between <script> and </script> tags.

We can place Javascript in <body> and <head> section of an HTML page.

<html>
     <body>
          <script>
              // Javascript code
          </script>
     </body>
</html>
Spread the love

Related Post

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *