Here are the "List Items 2 and 3 have the attributes":title="aaaxxx" or "yyy xxx">. They are selected with the li[title*="xxx"] { background: #e3e3e3; }