Attribute selector embraced by square brackets '[]' is used to find elements which have certain attributes matched in the source document:
p[class="green"] { color: green; text-decoration: line-through; }
#first { color: red; text-decoration: line-through; }