opening the html file inside an archive
Have you tried opening a HTML file which is present inside an archive file say for example a .zip file in Windows OS?
In Windows XP, it allows you to just open and see the contents of a zip file directly without using an extractor (WinZip etc), as if it was a normal folder. In such case, you may get access to the files present in the zip file (archive).
When you open a HTML file inside the archive, and if in case the html file contains some images, the images will not be displayed in the opened HTML file. You may wonder why it does not display the images though the images being referred are present in an appropriate folder for images alone (say a directory named “images” which is the traditional way)!!
The reason is, though you have opened the HTML file from an archive directly, the opened HTML file is alone opened and NOT the files/images present in the other directories. That’s why the images are not properly displayed.
You need to extract the zip file using an extractor. Say, WinZip for an example. Once you extract, all the contents in a zip file will get extracted including images. Then when you open the HTML file, the opened HTML file will now have access to the images present in the appropriate folder (“images”) since that folder also is extracted and available.
Happened to help one of my colleagues when she asked me by saying the error. Thought of blogging it as well after explaining it to my colleague. 😉