- 2
Html vs xml
What is the difference html vs xml
2 Respostas
+ 6
HTML is specific to websites.
XML is much more general purpose. It is for data interchange with many different file formats.
Here are some examples of XML languages:
XHTML is an XML language for representing very much the same information from HTML.
SVG is an XML language for representing vector graphics images.
XSL is an XML language for declaring how many XML languages can be converted into other XML languages.
XSD - XML Schema Definition is a language for validating XML documents.
Some small differences exist in how tags close. HTML5 lets you close empty tags without any /. For example, <input> is fine for HTML5 but XHTML and XML would require something like <input />. XML has namespaces, DTD's and more complexity also.
+ 1
Thanks for help