<script></script> tags. When browser encounters
<script> tag, it knows that the statements written between the opening and closing script tags are not to be treated as HTML.
<script> tag has below optional attributes:
1. Inline inclusion
<script> tag along with the code to be executed on the web page itself. Though it can be included anywhere on the page but the recommended approach is to add it at the bottom of the page. Example,
Reason for including it the end is that it allows the page to be loaded first after which the script is executed which does not hamper page load time.
2. External File
This method makes use of
src attribute of