Because they are only mark up languages. They can be used only to display/render content on the UI (User Interfaces) screens
They cannot contain any business logic or programming logic and hence they are not true programming languages.
There was no XML in HTML 4, and you can only add XML to HTML 5 if you reset the content MIME type. XML hasn't changed. But XML is a language used to define other languages. XML was used to define the standards for XHTML 1.0, the successor to HTML 4. The rules of XML apply in XHTML, because the language is based off of XML. These rules are not, in any way, part of HTML 4. HTML 5 is not, by default, an XML based language. But there is a version that allows one to use the XML (or XHTML) style serialization. If you do this, however, you have to deliver the document using an XML MIME type, like application/html+xml. (Normally, this involves messing with the server a bit.) See the related link for HTML 5 Doctor's take on XML serialization in HTML 5, as well as some other, useful links.
HTML XHTML SGML MathML XML GML are a few Markup Languages to name
As a programmer, processing pure XML is easier that HTML. This is because XML follows a very strict set of standards. HTML (such as HTML 4 or 5) does not. For instance, all XML tags close, either by a closing pair, or a "self-closing" tag. e.g.: <tag></tag> Or <tag /> Whereas HTML tags such as line-break and image don't follow the same pattern. <img> <br> By adhere to stricter rules, XML is easier for me to parse.
XML isn't a true language. XML is, instead, a set of standards used to create new languages. Because an XML documents author can make-up whatever tags and attributes she wants, browsers would find it difficult arriving at a standard means of displaying them. You can use XML and XSLT to create HTML-like documents from XML documents. It works fairly well. But the styles contained in XSLT are often much more complex, because there's no base display properties in the browser that an author can rely on.
an xml value can be anything, its up to as xml is not a semantic language like html.
HTML and XML are scripting languages. These languages help in designing for mobiles and web.
HTML and XML both are markup languages. These languages use tags for functionality.
You mean the file extension, right? HTML: .html or .htm XML: .xml
There was no XML in HTML 4, and you can only add XML to HTML 5 if you reset the content MIME type. XML hasn't changed. But XML is a language used to define other languages. XML was used to define the standards for XHTML 1.0, the successor to HTML 4. The rules of XML apply in XHTML, because the language is based off of XML. These rules are not, in any way, part of HTML 4. HTML 5 is not, by default, an XML based language. But there is a version that allows one to use the XML (or XHTML) style serialization. If you do this, however, you have to deliver the document using an XML MIME type, like application/html+xml. (Normally, this involves messing with the server a bit.) See the related link for HTML 5 Doctor's take on XML serialization in HTML 5, as well as some other, useful links.
HTML XHTML SGML MathML XML GML are a few Markup Languages to name
No. XML is a meta-language used to create other languages. XML was used to create XHTML, but neither is truly a subset or superset of the other. Think of XML as a set of rules that make the creation of languages simpler, rather than a language itself.It's also important to note that HTML 4 and HTML5 do notcomply with the XML rules.
As a programmer, processing pure XML is easier that HTML. This is because XML follows a very strict set of standards. HTML (such as HTML 4 or 5) does not. For instance, all XML tags close, either by a closing pair, or a "self-closing" tag. e.g.: <tag></tag> Or <tag /> Whereas HTML tags such as line-break and image don't follow the same pattern. <img> <br> By adhere to stricter rules, XML is easier for me to parse.
xml can be written straight into html code and vice versa using the correct syntax, ie your html in here and your xml in here
XML is different from HTML in many ways. XML can be used mainly for mobile designing while HTML for web designing.
If you wish to style an element within XML you will need to use XSL and XSLT, CSS is commonly used for HTML and other languages other than XML data.
XML isn't a true language. XML is, instead, a set of standards used to create new languages. Because an XML documents author can make-up whatever tags and attributes she wants, browsers would find it difficult arriving at a standard means of displaying them. You can use XML and XSLT to create HTML-like documents from XML documents. It works fairly well. But the styles contained in XSLT are often much more complex, because there's no base display properties in the browser that an author can rely on.
XML probably will not replace HTML. XML is a language to define categories of data. HTML is a language to define format.