Can I add a custom attribute to an HTML tag like the following?
Yes, you can use data-* attribute. The data-* attribute is used to store custom data private to the page or application.
data-*
1 2 3