[for]
foo
bar
baz
label[for="foo"] { background-color: yellow; } label[htmlFor="bar"] { background-color: red; } label[htmlFor="baz"], label[for="baz"] { background-color: green; }
← Back to the Article