Whats difference between HTML, XHTML and XML ? | SoloLearn: Learn to code for FREE!

+15

Whats difference between HTML, XHTML and XML ?

still finding this confusing...😞😞😞

4/5/2017 5:39:35 AM

Sean Kessie

2 Answers

New Answer

+13

HTML is a markup language used for structuring webpages. XML is a standard for data representation. And XHTML is HTML code's representation in XML format :)

+2

As he said XML is a data transferer (Think of XML as HTML but the tags are invented by the one who rights). So you created a main program in java to make an app in android. Most of the info that you see in the screen is transfered by XML. XHTML is a "perfect" version of HTML. You can't make shortcuts , all tags must be closed... But runs faster in browsers.