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 05:07:18 +0100
Message-ID: <45F62376.5030401@disruptive-innovations.com>
On 12/03/2007 21:53, whatwg at robertdot.org wrote:

>> XHTML2 moves a lot of semantics and behavior from elements to global
>> attributes. For example, href can turn any element into a hyperlink,
>> and src can turn any element into an image.
> 
> I liked the href adding a link to any object, but the src, I don't care
> for.  I can already set a background image on an element to "turn it into
> an image." 

CSS 3 content property can do it.

</Daniel>
Received on Monday, 12 March 2007 21:07:18 UTC

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