1.HTML is presentaton language where as XML is not either a programing language or a presentation language.It is used to transfer data between applications and databases. 2.HTML is not case-sensitive where as XML is case-sensitive. 3.In XML we can define our own tags as it is not possible in HTML. 4.In XML it is mandatory to close each and every tag where as in HTML it is not required. 5.XML describes the data where as HTML only defines the data.
XML stands for Extensible Markup Language • XML is a markup language much like HTML • XML was designed to carry data, • XML tags are not predefined. • XML is designed to be self-descriptive. • XML is a W3C Recommendation
HTML
HTML - short for Hypertext Markup Language It provides a means to describe the structure of text-based information in a document by denoting certain text as headings, paragraphs, lists, and to supplement that text with interactive forms, embedded images, and other objects.
• Publish online documents with headings, text, tables, lists, photos, • Retrieve online information via hypertext links, at the click of a button. • Design forms for conducting transactions with remote services, for use in searching for information, making reservations, ordering products.
• Include spread-sheets, video clips, sound clips, and other applications directly in their documents.