Self Closing Script Tags in Internet Explorer
It turns out that all versions of Internet Explorer do not like self closing script tags or as the Internet world calls it, element minimization. Self closing script tags are perfectly valid XHTML elements, but invalid HTML elements. Internet Explorer only supports XHTML to the extent that only HTML-compatible markup is possible. All other major browsers support XHTML markup.
The below example shows how this can be detected when script tags have been placed within the head element of a HTML page.