# How to save a web page in mathematica?

For a given web page http://www.nytimes.com/, is it possible to save it as :

first: only HTML(within css)

second: more elements(include pictures and so on)

just like what a browser can do.

I have tried this, but it only generates a large picture with plain text.

Export["F:\\nytimes.html", Import["http://www.nytimes.com"], "HTML"]

-
 You need to explicitly specify that you're Import[]ing as "HTML". – 0x4A4D♦ Oct 24 '12 at 10:55 @J.M. It still doesn't work, give the same result – withparadox2 Oct 24 '12 at 10:57 Was this question ever answered? I mean, do you have a solution? – Mr.Wizard♦ Apr 5 at 16:13 @Mr.Wizard Nope, I don't have an answer, but consider using a feasible method of java which I am not familiar with. – withparadox2 Apr 6 at 14:43 maybe you can use import source and imagelinks and hyperlinks seperately then to StringReplace to Combine them together. URLSave is another new function. – HyperGroups May 9 at 2:55