Yes, you can have custom attributes:
<div imMakingUpAnAttribute="whatever"></div>
To differentiate between element and custom attributes, a good practice is to prefix it with data-.
<div data-imMakingUpAnAttribute="whatever"></div>
Yes, you can have custom attributes:
<div imMakingUpAnAttribute="whatever"></div>
To differentiate between element and custom attributes, a good practice is to prefix it with data-.
<div data-imMakingUpAnAttribute="whatever"></div>