Blog

Cross Browser dataset

shutterstock_234378844
BLOG / Web Development

Cross Browser dataset

Dataset is the method of applying and accessing custom data to elements.

Browser Support

This feature is already supported by a few major browsers including Chrome, Firefox, Internet Explorer 11, Microsoft Edge, and Opera.

Code Example

You can use dataset like this:

<p>The third <span data-mytrans-de="Anspruch">claim</span> covers the case of <span
translate="no">HTML</span> markup.</p>

More Information

More information can be found here.