[attribute="value"] Selector

<pre><code>//the following example selects all &lt;a&gt; elements with a target=&quot;_blank&quot; attribute

a[target=&quot;_blank&quot;] { 
  background-color: yellow;
}</code></pre>

Is used to select elements with a specified attribute and value.

[attribute="value"] Selector — Structure map

Clickable & Draggable!

[attribute="value"] Selector — Related pages: