Home >Web Front-end >HTML Tutorial >How to download a page and its related css, js, and img intact? _html/css_WEB-ITnose
I remember that "Save As" in lower versions of IE was very useful
But now the pages saved by "Save As" in Chrome, Firefox and IE don't even seem to have the correct source code, and some don't seem to have diaplay:none. The source code, some css are not downloaded. . .
Excuse me, if a customer wants you to modify a page, but he does not give you the source code, how do you download the source code of the page in this case?
If a customer wants you to modify a page, but he doesn’t give you the source code
This is impossible, even if you Even after downloading the complete page code, you cannot modify the page on the website
If it is a dynamic website, you cannot change it even if you download the html. .
It’s so painful, it’s hard for a clever woman to make a meal without rice...
Because the content of the website in the lower version of IE was not as rich as it is now, so simply saving the html/css code and a few pictures is enough. You can get the correct page.
In the current situation of web pages, the page is not simply a static page with html/css images. There is also a lot of content that is obtained by js through ajax and then rendered to the page. Even js may be directly executed by the ajax code. It is not loaded into the dom. In such a complicated situation, simply saving the page code and resources cannot guarantee that you will see the correct interface
After saving the page as, it is a static page, so you can only get the inline JS and CSS. , For those who want to contact you, just press the link and get it in the browser
It will definitely not be changed. Otherwise, I will change the amount in online banking
Am I not rich and handsome?
Haha
If it is a dynamic website, you cannot change it even if you download the html. .
.
Makes sense. Nowadays, many websites use plug-ins (the most obvious one is blogs), and many code highlighting implementations use plug-ins, so sometimes the code you download shows no color
Can’t Ctrl s work? I have always been This is done