Is there an xhtml.xsd equivalent available for HTML5?(是否有可用于 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 等效项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:是否有可用于 HTML5 的 xhtml.xsd 等效项?
基础教程推荐
- Node.js 有没有好的索引/搜索引擎? 2022-01-01
- 如何在特定日期之前获取消息? 2022-01-01
- WatchKit 支持 html 吗?有没有像 UIWebview 这样的控制器? 2022-01-01
- Javascript 在多个元素上单击事件侦听器并获取目标 2022-01-01
- 每次设置弹出窗口的焦点 2022-01-01
- 如何使用 CSS 显示和隐藏 div? 2022-01-01
- 什么是不使用 jQuery 的经验技术原因? 2022-01-01
- 如何使用sencha Touch2在单页中显示列表和其他标签 2022-01-01
- jQuery File Upload - 如何识别所有文件何时上传 2022-01-01
- 为什么我在 Vue.js 中得到 ERR_CONNECTION_TIMED_OUT? 2022-01-01
