HTML code that can make IE freeze

HTML code that can make IE freeze
We simply need to open any text editor, copy the following code into it, and save the file, for example SomeFilename.html.

Copy code
The code is as follows:

<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 popular IE versions, from IE6 to the just-released 6th platform preview of Internet Explorer 9. In IE6, the page often appears blank, but the entire window is not interactive. In IE8, the crash is complete. IE9 Beta has enhanced robustness. Through my actual testing, this page will cause the entire process to become unresponsive. Sometimes IE9 will prompt you that there are problems with the webpage, but this cannot avoid the reality of crashing.

In fact, this problem has been discovered a long time ago, and there is even a dedicated website (http://crashie8.com/, please spread this link with caution). Any browser other than IE would have no problem opening the page, but IE crashed inexplicably.

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> closing tag after the <input> tag to make this code conform to the specification. Standard code will not cause IE to crash, so it seems that it is not IE's fault.

However, when other browsers have high fault tolerance, IE does not, even in IE9 it still does not have it. This is the tragedy of IE.

<<:  Web Design Experience: Self-righteous Web Designers

>>:  JavaScript to achieve simple drag effect

Recommend

Vue.js uses Element-ui to implement the navigation menu

This article shares the specific code for impleme...

ReactRouter implementation

ReactRouter implementation ReactRouter is the cor...

Specific use of Mysql prepare preprocessing

Table of contents 1. Preprocessing 2. Pretreatmen...

Solutions to browser interpretation differences in size and width and height in CSS

Let’s look at an example first Copy code The code ...

Example of Vue uploading files using formData format type

In Vue, we generally have front-end and back-end ...

How to solve the problem that Seata cannot use MySQL 8 version

Possible reasons: The main reason why Seata does ...

Analysis of the differences between Iframe and FRAME

1. Use of Iframe tag <br />When it comes to ...

Multiple ways to insert SVG into HTML pages

SVG (Scalable Vector Graphics) is an image format...

Native JS music player

This article example shares the specific code of ...

Super detailed tutorial to implement Vue bottom navigation bar TabBar

Table of contents Project Introduction: Project D...

Vue uses the Element el-upload component to step on the pit

Table of contents 1. Basic Use 2. Image quantity ...

Processing ideas for decrypting WeChat applet packages on PC in node.js

Table of contents Where is the source code of the...