Define HTML and XML.HTML: - It has predefined elements names '<h1>', '<b>' etc. - It is known as Hyper Text Markup Language. - It is used to display data on focus on the way it looks. - It uses pre-defined tags to mark and structure the documents.
XML: - You can create your own elements with syntax much stricter than HTML. - It stands for EXtensible Markup Language. - It is a markup language much like HTML. - It was designed to store and transport data. - It was designed to be self-descriptive. - It is a W3C Recommendation.
|