What should I know about attribute selectors in CSS?

Before I introduce you to the concept of CSS attribute selectors, you should know what an HTML attribute is. The good news is, you’re already familiar with several of them: class, id, style, and href for example. There are a ton more though, check out W3.org for a complete list. CSS makes styling some attributes easy.
For More Information Please Refer:
https://designshack.net/articles/css/css-attribute-selectors-how-and-why-you-should-be-using-them/
You May Also Like to Read:
What happens if I remove the src attribute from an iframe?