Attribute Selectors

This is a paragraph without the title attribute.

p[title] selects all paragraphs containing a title attribute.

p[title~="paragraph"] selects all paragraphs with a title attribute containing the word, paragraph.

p[title="#4 paragraph"] selects all paragraphs with a title attribute containing the exact text, #4 paragraph. Matches are case sensitive and must match letter-for-letter including whitespace.