XML Attribute values must always be quoted
• With XML, it is illegal to omit quotation marks around attribute values.
• XML elements can have attributes in name/value pairs just like in HTML. In XML the attribute value must always be quoted.
With XML, white space is preserved
• With XML, the white space in your document is not truncated.
This is unlike HTML. With HTML, a sentence like this:
Hello my name is Tove,
will be displayed like this:
Hello my name is Tove,
• HTML reduces multiple, consecutive white space characters to a single white space.
Leave a comment