Learn how to add JavaScript in HTML page. There are four ways to add JavaScript: within script tag, event handler, JavaScript pseudo URL, .js