
For example, the tel element can have a preferred attribute:
<tel preferred=”true”>513-555-8889</tel>
Unlike HTML, XML insists on the quotation marks. The XML processor
would reject the following:
<tel preferred=true>513-555-8889</tel>
The quotation marks can be either single or double quotes. This is conve-
nient if you need to insert single or double quotation marks in an attribute
value.
<confidentiality level=”I don’t know”>
This document is not confidential.
</confidentiality>
or
<confidentiality level=’approved “for your eyes only”’>
This document is top-secret
</confidentiality>
Empty Element
Elements that have no content are known as empty elements ...