Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.

Well done!

You have completed (UPI) Chapter 3: Web Design with Cascading Style Sheets (CSS)!

Instruction

Attribute Selectors

Attribute selectors target elements based on the presence or value of their attributes. Theyโ€™re especially useful when working with forms or links, as they allow for precise control over styles for specific attributes.

All Elements with a Specific Attribute: Targets any element with a specified attribute, regardless of the attributeโ€™s value.

*[href] { font-size: 95%; }
``...