加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 资源网站 > 资源 > 正文

html – 什么是polyglot文件?

发布时间:2020-12-14 21:37:28 所属栏目:资源 来源:网络整理
导读:this answer至 this question, Lachlan-Hunt写下列内容: With HTML5,you can choose to use HTML-only syntax,meaning that it is only compatible with being served and processed as text/html it is not well-formed XML. Or use XHTML-only syntax,me
this answer至 this question, Lachlan-Hunt写下列内容:

With HTML5,you can choose to use HTML-only syntax,meaning that it is only compatible with being served and processed as text/html it is not well-formed XML. Or use XHTML-only syntax,meaning that is is well-formed XML,but uses XML features that are not compatible with HTML. Or,you can write a Polyglot document,which is conforming and compatible with both HTML and XHTML processing (In principle,this is conceptually similar to writing XHTML 1.0 that conforms with Appendix C guidelines).

什么是Polyglot文件?

解决方法

多语言程序是一种有效于多种语言的程序。见 http://en.wikipedia.org/wiki/Polyglot_(computing)。

多语种(person)是流利的语言的人。

因此,这种情况下的多边形文档既是有效的HTML和XHTML。

显然,这个词源自古希腊语,由“π”,“多舌”,“多舌”,“pol”,“tongue”,“’”,“))”

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读