class attribute selector css code example
Example 1: css attribute selector
a[target="_blank"] {
background-color: yellow;
}
/*w3schools*/
Example 2: css class attribute
<h1 class="Class">Content</h1>
<h1 id="id">Content</h1>
Css:
.class
#id
a[target="_blank"] {
background-color: yellow;
}
/*w3schools*/
<h1 class="Class">Content</h1>
<h1 id="id">Content</h1>
Css:
.class
#id