The data attribute name must be at least one character long and must be prefixed with 'data-'. It should not contain any uppercase letters.

lucky-baglucky-bag のブックマーク 2010/05/29 20:10

その他

このブックマークにはスターがありません。
最初のスターをつけてみよう!

HTML5 Custom Data Attributes (data-*) | HTML5 Doctor

    Have you ever found yourself using element class names or rel attributes to store arbitrary snippets of metadata for the sole purpose of making your JavaScript simpler? If you have, then I have som...

    \ コメントが サクサク読める アプリです /

    • App Storeからダウンロード
    • Google Playで手に入れよう