First way: The
The first common way is to write code javascropt in the tag . Tag can be made in the tag that exist in html,and in the tag tags that exist in html.
Example Code,you can try it out by writing on a notepad,notepad ++,sublimetext or any other text editor and save as a.html file,or you can try also here HTML editor FajarYusuf.Com :
Second way: Through External Files
Fourth Way: Using the URL
Then, How can we use this method in HTML?