Applying attribute selectors