2.9. Selecting Elements Based on Attributes
2.9.1. Problem
You need to select elements based on attributes and those
attributes’ values.
2.9.2. Solution
Use an attribute selector to match specific attributes and
corresponding values:
You are currently reading a PREVIEW of this book.
Get instant access to over
$1 million worth of books and videos.
Start a Free Trial