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

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

问题描述

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

I am developing an appplication based on Mozilla XULRunner.

我使用 xhmtl1-strict.xsd 由W3C提供以获取属性。现在要求将< 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没有doctype定义或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天全站免登陆