是否有可用于 HTML5 的 xhtml.xsd 等效项? [英] Is there an xhtml.xsd equivalent available for HTML5?

查看:22
本文介绍了是否有可用于 HTML5 的 xhtml.xsd 等效项?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个基于 Mozilla XULRunner 的应用程序.

I am developing an appplication based on Mozilla XULRunner.

我正在使用 W3C 提供的 xhmtl1-strict.xsd 来获取属性.现在需要将 <video> 标签添加到我的应用程序中,但我的应用程序不支持任何 HTML5 元素或属性.

I am using the xhmtl1-strict.xsd provided by the W3C to fetch the attribute. Now the requirement came to add the <video> tag to my application, but my application is not supporting any HTML5 elements or attributes.

那么,有什么建议吗?

推荐答案

HTML5 没有文档类型定义或 XML 模式定义.这是因为,尽管它与前身 HTML 4 共享相同的语法,但 HTML5 本身既不是基于 SGML 也不是基于 XML.它本身就是一种标记语言.

HTML5 does not have a doctype definition or an XML schema definition. This is because, although it shares the same syntax as its predecessor HTML 4, HTML5 itself is neither based on SGML nor XML. It's a markup language in its own right.

如果您希望使用 Mozilla 技术实现具有 HTML5 功能的浏览器,最新版本的 Gecko 布局引擎支持 HTML5.在这里获取 Gecko/XULRunner SDK.

If you are looking to implement a browser with HTML5 capabilities using Mozilla technologies, the latest version of the Gecko layout engine supports HTML5. Get the Gecko/XULRunner SDK here.

这篇关于是否有可用于 HTML5 的 xhtml.xsd 等效项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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