Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
clu3
· 13y ago · 0 comments
Since data-title, data-content are pretty kinda popular in bootstrap in many different plugins, I thought I'd use bootstro- to avoid any accidental mistake. TBH, I'm not even sure if it's good or bad practice
Comments
[–]
jasonquinn
13y ago
It should really be data-bootstro-whatever so it validates as a custom data attribute in HTML