Adding JavaScript Code in Our website
We can use javascript code in our website 3 ways. we will describe briefly in this post.
i. inline
ii. internal
iii. external
<body onload='alert("hello");'> //This is called inline
<script>
document.write("hello"); //This is called internal.
</script>
<script src="hello.js"></script> //This is called external javascript
No comments