This can be done on a HTML-element level … Custom data attribute. Most can be used on all HTML elements, but there are exceptions, as outlined below. Event handlers are commonly used to extend the functionality of an HTML element. The tag is a new element in HTML5. If the content is time- or date-related, the