[whatwg] Attributes vs. Elements

On 13/03/2007 07:12, Karl Dubost wrote:

> 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

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

</Daniel>

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