Vital to note is that you can use multiple attribute selectors in the same selector, which requires all of them to match for the selector itself to match.
This is where it starts getting more interesting. The equals sign in attribute selectors may be prefaced by other characters which alter the meaning a bit. For example, "*=" means "match the following value anywhere in the attribute value."