<div> <p data-foo='BAR'>this is styled</p> <p data-foo='BAZ'>this is unstyled</p> </div> <style> [data-foo='bar' i] { color: red; } </style>