#IT-6303
Awesome StudentQuestion • Web Systems Technologies

Why should you use the type attribute in the opening script tag?

Answer

To be sure the browser does not interpret your JavaScript as another scripting language and to ensure the Web page validates in XHTML