In the above example, we have used attribute selector. This selector returns all the elements from the group of elements matching specified attribute value. In above example, it selects the anchor element with matching href attribute value and applies CSS to it.