Why self-closing script tags doesn’t work?
Self-closing script tag are not supported by all browsers as this may contain inline code and HTML is not smart enough to turn that feature on or off. Let’s see two types of script tag. One is self-closing script tag which browsers do not correctly recognize. <script src=”myscript.js” /> And the another is, <script src=”myscript.js”></script> […]