W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2007

[whatwg] Attributes vs. Elements

From: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Date: Tue, 13 Mar 2007 07:23:08 +0100
Message-ID: <45F6434C.3070307@disruptive-innovations.com>
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

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:53 UTC