Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there an xhtml.xsd equivalent available for HTML5?

I am developing an appplication based on Mozilla XULRunner.

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.

So, any suggestions?

like image 912
Abhishek Choudhary Avatar asked Apr 12 '11 16:04

Abhishek Choudhary


People also ask

Does HTML5 allow XHTML syntax?

You can write HTML5 with XHTML 1.0 syntax, since HTML5 permits XML syntax and it explicitly allows an XHTML 1.0 doctype as “legacy doctype” in the XHTML syntax.

Is XHTML and HTML5 the same?

What is the Difference Between XHTML and HTML5? XHTML is a combination of HTML and XML, while HTML5 is a version of HTML. XHTML has its own parsing requirements, while HTML does not have any specific requirements and uses its own.

What is XSD in HTML?

An XML Schema describes the structure of an XML document. The XML Schema language is also referred to as XML Schema Definition (XSD).

Is HTML5 better than XHTML?

While XHTML was designed to be a better version of HTML4 by incorporating some features of XML, HTML5 turned out to be far better than the both and is by far the most widely used markup language today because of the addition of many essential features.


1 Answers

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.

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.

like image 69
BoltClock Avatar answered Sep 20 '22 13:09

BoltClock