Too Long; Didn't Read
The script tag has six attributes that are often underutilized and misunderstood by most JavaScript developers. We will look at all the ways to use the script tag and the importance and use of each of the six attributes. Inline JavaScript is the easiest way to insert JavaScript into an HTML page but not the optimal way of doing it. The type attribute indicates the content type, also known as the MIME type, of the scripting language used in the external file you include in your HTML. This is how you would include a type attribute in your script tag.