[whatwg] Attributes vs. Elements

Daniel Glazman daniel.glazman at disruptive-innovations.com
Mon Mar 12 21:07:18 PDT 2007


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>



More information about the whatwg mailing list