Condensed the comparison of XML & HTML (#21013)

Condensed the comparison of XML and HTML in an attempt to be more concise and easier read.
This commit is contained in:
japplejuice
2018-11-07 17:33:11 -05:00
committed by Huyen Nguyen
parent ac950d8038
commit 7ce47c5de3

View File

@ -43,9 +43,9 @@ In this example, 'note' is the root element.
In Computer Language, eXtensible Markup Language(XML) is that which defines a set or block of Rules which are later used for Encoding documents in such a format that is both human and machine readable. In Computer Language, eXtensible Markup Language(XML) is that which defines a set or block of Rules which are later used for Encoding documents in such a format that is both human and machine readable.
There is a main difference between XML and HTML; XML was designed to carry a particular information and focuses on that informaion only, while HTML focuses on displaying that particular information like design and all these stuff regarding the information. There are two primary differences between XML and HTML:
1. XML was designed to describe data; whereas, HTML was designed to display data.
XML does not uses a predefined tags as used by HTML. It uses user defined tags. 2. HTML uses predefined tags while XML uses user defined tags.
XML helps simplify: XML helps simplify:
1. data sharing 1. data sharing