<p>W3TR</p> <p title="w3tr">W3TR</p> <p title="w3trrr">W3TR</p> <p>W3TR</p> <span title="w3tr">W3TR</span>
$("p[title~='w3tr']").css("background-color", "red");
This Pen is owned by W3TR on CodePen.
See more by @w3tr on CodePen
This Pen doesn't use any external CSS resources.