如何从 zip 文件中打开 html 文件? [英] How to open an html file from inside a zip?

查看:59
本文介绍了如何从 zip 文件中打开 html 文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法从包含 html 引用的图像的 zip 文件中打开 html 文件?我生成带有资源相对路径的 html,浏览器在 zip 文件中找不到它们,我必须先将其解压缩.从拉链打开它是理想的.有什么办法吗?

Is there any way to open an html file from within a zip file which contains images the html references? I generate htmls with relative paths to resources and the browser won't find them in the zip file, I have to extract it first. Opening it from the zip would be ideal. Any way to do it?

推荐答案

你必须提取它.当您双击 zip 文件中的 html 时,它会在后台提取并显示给您,读取压缩文件中任何内容的唯一方法是提取它.

you have to extract it. When you double click on your html in the zip file, it is extracted in the background and shown to you, the only way to read anything in a compressed file is by extracting it.

这篇关于如何从 zip 文件中打开 html 文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆