[whatwg] Attributes vs. Elements

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