What is the deference between HTML and XML.
HTML
Hypertext Markup Language (HTML) is a
programming language that displays data
and describes a web page's structure.
XML
Extensible Markup Language (XML) is a
programming language created by the
World Wide Web Consortium (W3C).
HTML ADVANTAGES
> Lightweight
> Supported by all browsers.
> Being plain text, it is simple to edit.
> Easy to integrate with other languages.
XML ADVANTAGES
> XML is extendable.
> XML supports Unicode
> Can be read and understood by all.
> XML document is free of any syntax error.
XML DISADVANTAGES
> Can create only plain and static pages.
> Complex to write long code for making webpages.
> Takes a lot of time ta create a webpage.
> HTML security features aren't very good.
XML DISADVANTAGES
> Compared to othQr text-based formats, XML is less readable.
> Compared to other text-based formats, XML is redundant and verbose.
> Due to its lengthy nature, the XML file size is very large.
> XML does not support an array.
CONCLUSION
HTML and XML are related to each other, where
HTML displays data and describes the structure
of a webpage, And XML stores and transfers
data. HTML is a simple predefined language,
while XML is a standard language that defines other languages.
____________________________________________________
Did u find this helpful? 😳 please don't hesitate to share the post with your interested ones so we would update more frequently.
Thank you🥰