3 ms·
According to the standard, custom attributes _must_ begin with 'data-'. For example, `data-a-block`. Of course, it still works if you omit 'data-', so I fully e
by frosted-flakes 8y ago
According to the standard, custom attributes _must_ begin with 'data-'. For example, `data-a-block`. Of course, it still works if you omit 'data-', so I fully expect that this requirement will be changed to "must contain a hyphen".