I want to open a web page which i could see in safari's history offline. At-least i want to get the html contents out of it.
It would be of great help if anyone could help me do it.
Are you able to access the page on the internet right now? If so then I suggest browsing to the page and issuing a File, Save command:
If you need to extract the page from the cache while you are offline, try
C:\Users\%username%\AppData\Local\Apple Computer\Safari
it is in a cache.db
file which is apparently a SQlite database.
Info on how to pick apart this file is at
http://forensicsfromthesausagefactory.blogspot.com/2010/06/safari-browser-cache-examination-of.html