[whatwg] Attributes vs. Elements
daniel.glazman at disruptive-innovations.com
Mon Mar 12 23:23:08 PDT 2007
On 13/03/2007 07:12, Karl Dubost wrote:
> more references, food for thoughts.
> * Markup design: elements or attributes?
> * Principles of XML design: When to use elements versus attributes
> * SGML/XML: Using Elements and Attributes
I would add a major principle, rarely explicit : PRAGMATISM.
Sometimes purity calls for an element while browser implems
call for an attribute ; or the contrary. And even if implem
issues should not apply in theory, they do apply in real life...
More information about the whatwg