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
Received on Tuesday, 27 May 2008 08:01:31 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:44:31 UTC