Latest from O’Reilly

Insights, practical guidance, and announcements from O'Reilly

Understanding attribute selectors

Part of the CSS2 standard, and expanded in CSS3, an attribute selector selects attributes, rather than tags, in your HTML. Variations include simple, exact, partial, and beginning and ending substrings.