Different ways to load JavaScript in HTML