Here are the "List Items 2 and 3 have attribute":title="xxx". They are selected with the li[title] { background: #e3e3e3; }