0
Can the script tag be used inside of both the head tag and body tag??
<head> <script> ... </script> </head> <body> <script> .... </script> </body>
1 Resposta
+ 1
Yes it can be used.
Generally it is prefered to used script tag at the bottom of body tag, so that the document loads before the script tag.
Hope this helps :)