#css #Attribute Selector Attribute Selector The attribute selector selects elements that have specific attributes, or elements that have specific attributes, such as specific values. [attributename] attributename Select the element that has the attribute. For example, the following selects the h1 element with the title attribute. h1[title] [attributename="value"] attributename Selects an element..