![Did you know, you can access string attributes of DOM nodes from CSS with a function called attr? : r/css Did you know, you can access string attributes of DOM nodes from CSS with a function called attr? : r/css](https://i.redd.it/80xbp2ycch271.png)
Did you know, you can access string attributes of DOM nodes from CSS with a function called attr? : r/css
![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)
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/code-explanation-data-attribute-in-html.png)