The two ways to add JavaScript in HTML are internal JS and external JS. For internal JS <script> tag is used in the HTML file. For external JS we link the file that consists of the code in the tag <head>.
Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile