Hacker News new | ask | show | jobs
by johnx123-up 4837 days ago
Why "bootstro" attributes instead of "data"?
1 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
It should really be data-bootstro-whatever so it validates as a custom data attribute in HTML