how to use attribute selectors in css

CSS
a[target] {
  background-color: yellow;
}  
Source

Also in CSS: