[whatwg] Attributes vs. Elements

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 ***

Received on Monday, 12 March 2007 23:12:38 UTC