Selecting Elements Based on Attributes
You can also apply formatting to those elements that have a given attribute or attribute value.
To select elements to format based on their attributes
1. Type element, where element is the selector for the element whose attributes are in question.
2. Type [attribute, where attribute is the name of the attribute that an element must have to be selected.
<article class="about"> <h1>Antoni Gaudí</h1> <p>Many tourists are drawn to Barcelona to see Antoni Gaudí's incredible architecture.</p> <p>Barcelona ...