Quote:
Originally Posted by Steve Jordan
As you can see, I'm not the best person to ask about the differences and definitions between XML and XHTML! I'm still learning them myself.
|
XML is basically rules of how to define a markup language. How to create tags and attributes. How to encode data if needed, etc.
HTML is a mark up language that defines sections and formating.
XHTML is basically HTML that follows the XML rules. For example, in HTML you can have a <BR> tag. But that is not valid XML... So, in XHTML you must close the tag and use <BR />.
Not alot of difference to a person. But a huge difference to an XML parser.
BOb