Rating 3.00 out of 5
CSS Selectors are the most handy way to apply styles to select HTML elements. CSS Selectors are widely used in jQuery and HTML DOM Parsers etc.
a[href*="jpg"] {
color : green;
}
This will apply the style to all anchor tags which have their href tag linking to jpg images.
a[href*="jpg"][id="nav"] {
color : green;
}
This will apply the . . . → Read More: CSS Selectors