W3C home > Mailing lists > Public > public-html@w3.org > May 2008

Is "data-" a conforming data-* attribute name?

From: Henri Sivonen <hsivonen@iki.fi>
Date: Tue, 27 May 2008 11:00:48 +0300
Message-Id: <9A436D68-5C95-43E4-8058-D78F070AE607@iki.fi>
To: HTML WG <public-html@w3.org>

> Every HTML element  may have any number of attributes starting with  
> the string "data-" specified, with any value.

The attribute name "data-" starts with "data-". Is it intentional to  
allow "data-" as a conforming data-* attribute?

(The (X)HTML5 preset schemas on Validator.nu are now magic attributes  
whose name starts with "data-" on elements in the HTML namespace-- 
including "data-" itself.)

-- 
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/
Received on Tuesday, 27 May 2008 08:01:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:17 GMT