- HTML emphasizes data display and XML emphasizes the data content.
- HTML only allow pre-defined tags and XML allow customized tags.
- Tags in HTML are not case-sensitive and tags in XML are case-sensitive.
- Multiple adjacent white-spaces in an element content are different from a single white-space in XML, but same in HTML
- Double quote around attribute value are optional to HTML, but it’s compulsory in XML.
- HTML processed mainly by standard web browsers, and XML processed by tailor-made programs as well as generic XML parsers
Java Application Development and Programming Languages U06, p.11, Q1
No comments :
Post a Comment