From 535fa9504f29110a28c1babc651cb0398ddcbd74 Mon Sep 17 00:00:00 2001 From: Mark Pilgrim Date: Mon, 27 Jul 2009 04:43:51 -0400 Subject: [PATCH] mention single or double quotes --- xml.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xml.html b/xml.html index 9b84d74..218dc93 100755 --- a/xml.html +++ b/xml.html @@ -118,10 +118,10 @@ mark{display:inline}
<foo></foo>
 <bar></bar>
-

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

Elements can have attributes, which are name-value pairs. Attributes are listed within the start tag of an element and separated by whitespace. Attribute names can not be repeated within an element. Attribute values must be quoted. You may use either single or double quotes.

<foo lang='en'>          
-  <bar lang='fr'></bar>  
+  <bar lang="fr"></bar>  
 </foo>