Embedding custom non-visible data in HTML 5
“Every HTML element may have any number of attributes starting with the string ‘data-’ specified, with any value.”—this will be incredibly useful for unobtrusive JavaScript where there’s no sensible place to store configuration data as HTML content.
Via Simon Willison.
by
Tags: