16
CSS [attribute~=value] Selector The [attribute~=value] selector styles elements with the specified attribute containing the specified value. Note: The value has to be a whole word, either alone (title="flower") or separated by white- space (title="plant flower klematis").

17
[title~=flower] { border:5px solid yellow; } The image with a title attribute containing the value "flower" gets a yellow border. Note: For [ attribute ~= value ] to work in IE, a DOCTYPE must be declared.

19
CSS [attribute|=value] Selector The [attribute|=value] selector styles elements with the specified attribute starting with the specified value. Note: The value has to be a whole word, either alone, like lang="en", or followed by a hyphen( - ), like lang="en-us".

25
CSS element,element Selector Separate selectors, using commas, to style more than one element with the same style. The element,element selector styles all elements with either one of the specified tagnames

28
CSS :lang Selector The :lang() selector styles all elements with the lang attribute set to a specified value. The :lang() selector is supported in all major browsers. Note: For :lang() to work in IE, a must be declared.

43
CSS :first-line pseudo-element The :first-line pseudo-element adds a style to the first line of the specified selector.

44
p:first-line { background-color:yellow; } WWF's Mission Statement this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test

52
CSS :visited Selector The :visited selector styles links to visited pages. Note: The :link selector does not style links to pages you have not visit. Tip: Use the :link selector to style links to not visited pages. Tip: Use the :hover selector to style links when you mouse over them. Note: :hover MUST come after :link and :visited (if they are specified) in the CSS definition in order to be effective! Tip: Use the :active selector to style links when you click on them. Note: :active MUST come after :hover (if specified) in the CSS definition in order to be effective!