Set a background color for all elements that are not a <p> element:
The :not(selector) selector matches every element that is NOT the specified element/selector.
The :not selector is supported in all major browsers.
Note: IE8 and earlier do not support the :not selector.
Your message has been sent to W3Schools.