Scripts can be put in one of two places on an HTML page: between the <head> and </head> tags (called a header script ), or between the <body> and </body> tags (a body script ). Script 2.1 is an example of a body script. Script 2.1. Scripts always need to be enclosed inside the <script> and </script> HTML tags.
There is an HTML container tag that denotes scripts, which, as you would guess, begins with <script> and ends with </script> . To write your first script:
Tips
|