Main differences between HTML/SGML and XML:
HTML | XML | |
---|---|---|
1. | End tags can be "implied" Closing elements that have implied end tags
| End tags always required (even for "empty" elements)
|
2. | Start tags can be "implied"
| Start tags always required
|
3. | Element and attribute names are not case-sensitive
| Element and attribute names are case-sensitive
|
4. | Attribute values do not need to be in quotes if the values contain
alpha-numeric characters only
| Attribute values must always be in quotes
|
Copyright © David Heitmeyer