To start writing your script, all you need is a text editor. You can use the windows notepad or get a professional notepad like Notepad++, Sublime Text, etc. They all come with more features than a regular windows notepad program.
Let’s get started …
<script> … </script> tags and the
<script> tag tells the browser about the kind of script you are using which is
<html> … </html> shows the start and end of HTML document. So, you can write complex scripts within
<script> … </script>
Output to Browser