jquery use data attribute for css code example Example: jquery select by data attribute $('div[data-key=value]');