Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
canadiantim
· 3y ago · 0 comments
I admit I become hesitant when I see "data-*" attributes as it makes me think Javascript might be necessary to use it
Comments
[–]
Looky1173
3y ago
"data-*" attributes don't require any JavaScript; their values can even be accessed from CSS with `content: attr(data-*);`