.shtml files

For some reason I can’t view my .shtml files for my webpages correctly in Internet Explorer. When I open them in IE all I see is the writing that I would see in notepad. When I open them in firefox I can view them right. If I change the extension to .html they work fine. Does anybody have any idea why this isn’t working?

Nevermind I fixed it.