It also provided to place a script within your HTML document.
Have you ever joined a new affiliate program or created a new publication that you wanted to add to your existing navigational set up, but dreaded having to manually add the links to every page on your site?
Syntax use in Script
<script> //code to be executed </script>
HTML script tag are two type of usage like as
- Link script file
- Embed script code
The script tag can be used to link external script file by src attribute. It must be used within the <head> tag only.
It is used within <body> or <head< tag to embed the scripting code.
Example for using HTML head tag in Embed script code