XML vs HTML vs XHTML code example
Example: xml vs html
The most salient difference between HTML and
XML is that HTML describes presentation and XML describes content.
An HTML document rendered in a web browser is human readable.
XML is aimed toward being both human and machine readable.