Image

Using Selectors and Attribute Selectors

Images

         To view the accompanying video for this lesson, please visit mhprofessional.com/nixoncss/.

Selectors are used in CSS to match HTML elements. They are the means by which you target elements of a web page for styling. There are a number of types of selectors now available in CSS3, and there are also some new operators you can use to zone your rules in even more precisely.

This relatively short lesson provides a complete summary of the CSS selectors by supplying a recap of the selectors you’ve already ...

Get CSS & CSS3: 20 Lessons to Successful Web Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.