Strange IE! Show Blank Page for Wrong Closing <Title> Tag

Internet Explorer is really strange browser. It was showing me blank page when my <title> tag was not properly closed. I need to change the title tag, and some other HTML tag, dynamically for a cached page. In the script, instead of using variable for closing <title> tag, I pasted wrong variable. When you double click a variable in EditPlus editor, then variable name will be highlighted without $ sign. So, it happened to me and inside the double quotes it becomes like this:
<$startTag> (..a page title...)</endTag>
and for title, it resulted in this:
<title>(..a page title...) </endTag>.
and for this, Firefox has not created problem in loose Doctype. But in Internet Explorer 7 (IE7), it was showing me complete blank page. Funny!