[Bug description] In some versions of Windows XP IE8, only some pages are displayed, while others are blank. There is an error mark in the lower left corner of IE. The following characters are displayed after you click it:
HTML Parsing Error: Unable to modify the parent container element before the child element is closed (KB927917) Line: 0 Char: 0 Code: 0 URI :......
Some people on StackOverflow say that Internet Explorer officially provided that when HTML loading is incomplete, inserting a new HTML tag with JS may be deemed by the browser that the parent tag is not closed and an error is reported to stop loading. Really, it hurts...
However, IE8 should have been fixed later, because it was only found on some machines.
However, I proposed it today because I encountered this bug not because a segment was inserted in the page. JS, such as appendNode, is caused by response in IE8 for pages, that is, to allow IE8 to support media query, we use a Respond. js plugin: https://github.com/scottjehl/Respond
If this happens, the solution is simple. Put the script tag that references Respond. js at the bottom of the page.
In fact, JS references should be placed at the bottom of the page to improve the performance of the page, except that the header must be placed like Mordernizr.