Advertisement
KodingKid

How to link Javascript with HTML

Mar 26th, 2021
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.21 KB | None | 0 0
  1. <DOCTYPE! HTML>
  2.     <html>
  3.         <head>
  4.              <script>
  5.                  document.getElementById("demoscript").innerHTML = "My JavaScript Tutorial";
  6.             </script>
  7.         </head>
  8.     </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement