difference between html and xml | html

 What is HTML ?
HTML stands for Hyper Text Markup Language. It is the standard markup language for creating Web pages and describes the structure of a Web page. HTML consists of a series of elements and the elements tell the browser how to display the content. HTML elements label pieces of content such as "this is a laptop", "this is a camera", etc.

EXAMPLE OF HTML

photo credit- W3Schools

What is XML ?

XML stands for eXtensive Markup Language. XML is a software and hardware independent tool for storing and transporting data. It is a markup language much like the HTML and it is a W3C recommendation. It is little hard to understand than HTML, but it does not do anything. XML is a information which is wrapped in tags.

EXAMPLE OF XML


photo credit- ESKO

DIFFERENCE BETWEEN HTML AND XML

HTML

*HTML stands for Hyper Text Markup Language.

*HTML is a markup language.

*HTML Tags are predefined tags.

*HTML Tags are used to display the Data.

*In HTML closing Tags are not necessary.

*HTML has limited number of Tags.

*HTML does not carry data.

*HTML is static.

*HTML can ignore small errors.

*HTML is not case sensitive.

XML

*XML stands for Extensive Markup Language.

*XML provides frameworks to define markup language.

*XML Tags are user defined Tags.

*XML Tags are used for describing the data.

*In XML closing Tags are necessary.

*XML Tags can be stretched.

*XML carries the data to and from the data base.

*XML is dynamic.

*XML does not allow errors.

*XML is case sensitive.

Post a Comment

0 Comments