Ruler Notepad is a standard text editor with basic and some advanced features that you can use to open various text-based documents. Although you might have the possibility to load an HTML file since it's practically the same text-based document.
If you try opening a GIF, you'll only see weird characters. For that, you'll need an image editor or converter. For example, try XnView as it can view and convert images in the same time.