CSS generated description
CSS-generated content allows us to append (:after) or prepend (:before) content to an element that can display hard-coded content, dynamic content (attr()), images (url()) and counters (counter()). In this example, we’ll utilise the attr() function to extract the title attribute from the anchor () tag.