selector based on attribute code example
Example 1: css attribute selector
a[target="_blank"] {
background-color: yellow;
}
/*w3schools*/
Example 2: css atrubute selector
css attribute selector
a[target="_blank"] {
background-color: yellow;
}
/*w3schools*/
css attribute selector