diff --git a/xml.html b/xml.html index 67151bf..3f89a9b 100644 --- a/xml.html +++ b/xml.html @@ -109,9 +109,9 @@ mark{display:inline} </foo> -

Elements can have attributes, which are name-value pairs. Order of attributes is not significant; an element’s attributes form an unordered set of keys and values, like a Python dictionary. Attributes are listed within the start tag of an element. Attribute names can not be repeated on the same element (although they can appear on different elements). Attribute values must be quoted. +

Elements can have attributes, which are name-value pairs. Attributes are listed within the start tag of an element. Attribute names can not be repeated within an element. Attribute values must be quoted. -

<foo lang="en">     
+
<foo lang="en">          
   <bar lang="fr"></bar>  
 </foo>
 
@@ -120,6 +120,8 @@ mark{display:inline}
  • The bar element has one attribute, named lang. The value of its lang attribute is fr. This doesn’t conflict with the foo element in any way. Each element has its own set of attributes. +

    If an element has more than one attribute, the ordering of the attributes is not significant. An element’s attributes form an unordered set of keys and values, like a Python dictionary. +

    Elements can have text content.

    <foo lang="en">