HTML在线最小化/压缩? [英] HTML online minimizer/compressor?

查看:172
本文介绍了HTML在线最小化/压缩?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道一个好的在线生成器来获取HTML页面的源代码,并压缩/最小化整个页面。

Does anyone know of a good online generator to take the source code of an HTML page and compress/minimize the entire page.

意思,压缩/最小化所有嵌入CSS,JavaScript以及该网页的HTML,同时也删除不需要的HTML / CSS / JavaScript注释,空格,制表符等。

Meaning, compress/minimize all embedded CSS, JavaScript and obviously the HTML of that web page while also removing unneeded HTML/CSS/JavaScript comments, spaces, tabs, etc?

推荐答案

Juriy Zaytsev用JavaScript编写了一个HTML缩略词,您可以在此页面上使用: http://kangax.github。 com / html-minifier /

Juriy Zaytsev wrote an HTML minifier in JavaScript, which you can use online on this page: http://kangax.github.com/html-minifier/

警告说,它还是一个早期alpha,所以可能有bug。谨慎使用!

As the warning says, it’s still an early alpha, so there might be bugs. Use with caution!

这篇关于HTML在线最小化/压缩?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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