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?
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.
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.
An XML Schema describes the structure of an XML document. The XML Schema language is also referred to as XML Schema Definition (XSD).
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With