Answers for "Why is the data attribute used in HTML"

0

html data attribute

<a data-color="blue">
  	This tag contains a user-defined color attribute
</a>

<div data-link="https://github.com/k-vernooy">
	This tag contains a data attribute with a link
</div>
Posted by: Guest on February-22-2020

Code answers related to "Why is the data attribute used in HTML"

Code answers related to "Javascript"

Browse Popular Code Answers by Language