Explain the difference between XML and HTML.
XML explains data while HTML describes how the data should be displayed. Thus, HTML is about displaying information while XML is about explaining information.
XML supports user-defined tags whereas HTML gives pre-defined tags.
XML is a case-sensitive language whereas HTML language is not case-sensitive.
In XML, all tags must be closed; whereas in HTML, it is not necessary to close each tag.