I have a good understanding of how javascript as well as jQuery can be used in an HTML file, but one question logically arises.
When we want to embed javascript in an HTML file, as a rule (not every time), we write this simple code in the head part.
<script type="text/javascript"> ... </script>
And when we want to embed jQuery at that time in the same world of code
<script type="text/javascript"> ... </script>
How can we identify, seeing only this line, is it js code or jQuery code?
Can anyone tell me about this logic?
source
share