Menu

CSS attribute selector

December 6, 2016 - CSS, HTML, jQuery

HTML

<td data-gender="male">...</td>

CSS

td[data-gender="male"] { ... }

Jquery

$('td:contains("male")')
$(element).not(":contains('male')")