[whatwg] Attributes vs. Elements

Karl Dubost karl at w3.org
Mon Mar 12 23:12:38 PDT 2007


Le 13 mars 2007 à 03:25, Maciej Stachowiak a écrit :
> The recent discussion of possibly making the href attribute global  
> brings to mind a broader issue. To what extent should semantics and  
> behavior belong to specific elements, and to what extent should  
> they be carried by global attributes that can apply to any element?

more references, food for thoughts.

* Markup design: elements or attributes?
   http://annevankesteren.nl/2004/07/markup

* Principles of XML design: When to use elements versus attributes
   http://www-128.ibm.com/developerworks/xml/library/x-eleatt.html

* SGML/XML: Using Elements and Attributes
   http://www.oasis-open.org/cover/elementsAndAttrs.html

-- 
Karl Dubost - http://www.w3.org/People/karl/
W3C Conformance Manager, QA Activity Lead
   QA Weblog - http://www.w3.org/QA/
      *** Be Strict To Be Cool ***






More information about the whatwg mailing list