How You Can Use HTML5 Custom Data Attributes and Why - SitePoint - 0 views
-
Besides the data- prefix, the name of a valid custom data attribute must contain only letters, numbers, hyphen (-), dot (.), colon (:) or underscore (_). It cannot contain capital letters.
-
I recommend you use this method for quick prototypes rather than a production website, not least because CSS-only tooltips are not fully accessible.