![How To Use Data Attributes In JavaScript, CSS + HTML | by Alexandra Ortiz | JavaScript in Plain English How To Use Data Attributes In JavaScript, CSS + HTML | by Alexandra Ortiz | JavaScript in Plain English](https://miro.medium.com/max/1400/1*rAp4ZPiZBTKfjmXegxXB1w.png)
How To Use Data Attributes In JavaScript, CSS + HTML | by Alexandra Ortiz | JavaScript in Plain English
![How To Use Data Attributes In JavaScript, CSS + HTML | by Alexandra Ortiz | JavaScript in Plain English How To Use Data Attributes In JavaScript, CSS + HTML | by Alexandra Ortiz | JavaScript in Plain English](https://miro.medium.com/max/1400/1*uN7cZxxNGjR4wcBr31NHCg.png)
How To Use Data Attributes In JavaScript, CSS + HTML | by Alexandra Ortiz | JavaScript in Plain English
![html tutorial - data-* Attribute in HTML - html5 - html code - html form - In 30Sec by Microsoft Award MVP - | wikitechy html tutorial - data-* Attribute in HTML - html5 - html code - html form - In 30Sec by Microsoft Award MVP - | wikitechy](https://www.wikitechy.com/step-by-step-html-tutorials/attributes/img/attributes-images/output-datahyfenstar-attribute-in-html.png)
html tutorial - data-* Attribute in HTML - html5 - html code - html form - In 30Sec by Microsoft Award MVP - | wikitechy
![javascript - select2 on select data-select2-id attribute added in all div before select option - Stack Overflow javascript - select2 on select data-select2-id attribute added in all div before select option - Stack Overflow](https://i.stack.imgur.com/jlbHE.png)
javascript - select2 on select data-select2-id attribute added in all div before select option - Stack Overflow
![html - Setting data attribute values for jquery can't seem to get it working for data() - Stack Overflow html - Setting data attribute values for jquery can't seem to get it working for data() - Stack Overflow](https://i.stack.imgur.com/MwQLb.jpg)
html - Setting data attribute values for jquery can't seem to get it working for data() - Stack Overflow
![How To Use Data Attributes In JavaScript, CSS + HTML | by Alexandra Ortiz | JavaScript in Plain English How To Use Data Attributes In JavaScript, CSS + HTML | by Alexandra Ortiz | JavaScript in Plain English](https://miro.medium.com/max/1400/1*K8m-Y82HcBgqdh5JG-Fx3A.png)
How To Use Data Attributes In JavaScript, CSS + HTML | by Alexandra Ortiz | JavaScript in Plain English
![How To Use Data Attributes In JavaScript, CSS + HTML | by Alexandra Ortiz | JavaScript in Plain English How To Use Data Attributes In JavaScript, CSS + HTML | by Alexandra Ortiz | JavaScript in Plain English](https://miro.medium.com/max/1400/1*C4q8fJhZUul7fqgUlFdIQQ.png)