TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

HTML5 data attributes, how to use them and why

5 pointsby mite-mitreskialmost 13 years ago

1 comment

MatthewPhillipsalmost 13 years ago
This is nice and all, but I've yet to find a <i>reason</i> to use data attributes rather than just storing the same data in a js variable. I'd love to be enlightened.
评论 #4121614 未加载