How can I set data attributes of Html tags in javascript? And check if one data entity is present in that HTML tag I want to show my data in the next tag. Regards.