Difference Between XML and HTML
XML means extensible markup language. It is defined in the XML 1.0 specification, which is developed by the W3C (Web Consortium). XML gives a simple standard way for encoding data as text content can be exchanged through the hardware drivers, operating systems and applications without human intervention. The Hypertext markup Language, known as HTML is a main language for Web pages up. HTML is basic of Web pages. The web browser reads the HTML document and consists in Web pages audible or visual.
XML is a language that is used to increase transfer data and text between the hardware driver, operating systems and applications without human intervention. XML provides attributes, tags and element structures that can be used to provide context information. Such context information can be used to decode the meaning of content. This makes it possible to develop effective search engines and perform data mining on the data. In addition, traditional relational databases are suitable as XML data because they could be organized in rows and columns, but XML provides less support data which has video, audio, complexes, etc. The XML database keeps data in a hierarchical and structured, which efficiently process the queries. Tags in XML are not predetermined and users have liberty to define tags and document structures. Also, new language Internet as RSS, SOAP, XHTM and Atom were created by using XML.
Difference between HTML and XML
Although HTML and XML are both of the markup languages of the rise, there are few basic differences among them. HTML is predominantly labels that define the appearance of content, while XML tags usually define the structure and content of data (the real appearance is showed by a linked style sheet). Second, XML is extensible, because the XML tags can be defined by the user for a specific application, while the HTML tags are defined by W3C.