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 …
The tags <html> … </html> shows the start and end of HTML document. So, you can write complex scripts within <script> … </script> tags and the browser executes it for you.
Output to Browser