分发HTML文档 [英] Distributing a HTML Document

查看:120
本文介绍了分发HTML文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在创建一个HTML 5用户手册。这包含一些图像文件夹和js fodlers。现在我希望将其作为单个文档分发。在Windows中有这样或那样的效果。有没有什么办法可以在ubuntu上做到这一点,这不是浏览器或操作系统的依赖?

注意 strong>:MHTML是MIME HTML的缩写,是一种网页存档格式,用于将通常由外部链接(例如图像,Flash动画,Java小程序,音频文件)代表的资源与HTML代码一起绑定到单个文件中。使用MIME类型multipart / related将MHTML文件的内容编码为HTML电子邮件消息。该文件的第一个通常是编码的HTML;后续部分是由其原始URL标识的附加资源,并以base64编码。这种格式有时被称为MHT,在由Microsoft Word,Internet Explorer或Opera创建时默认给这些文件的后缀.mht。 MHTML是一个建议的标准,在1999年以RFC 2557的修订版发布。
因此,尽量将文档保存为不依赖于常规HTML的文档。这将在任何独立操作系统上运行。


I am creating a HTML 5 user manual. This contains a number of image folders and js fodlers. Now i wish to distribute this as a single document. In Windows there is mht or something to that effect. Is there any way I can do this on ubuntu that is not browser or OS dependent?

解决方案

notice that :MHTML, short for MIME HTML, is a web page archive format used to bind resources which are typically represented by external links (such as images, Flash animations, Java applets, audio files) together with HTML code into a single file. The content of an MHTML file is encoded as if it were an HTML email message, using the MIME type multipart/related. The first of the file is normally encoded HTML; subsequent parts are additional resources identified by their original URLs and encoded in base64. This format is sometimes referred to as MHT, after the suffix .mht given to such files by default when created by Microsoft Word, Internet Explorer or Opera. MHTML is a proposed standard, circulated in a revised edition in 1999 as RFC 2557. So try to save document as regular html with none of dependency. this will be run at any OS independently.

这篇关于分发HTML文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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