CSS [attribute*=value] Selector
The [attribute*="str"] selector is used to select those elements whose attribute value contains the specified substring str. This sub-string could be at the start, end, or in middle of the class. Syntax: element [attribute*="str"] { // CSS Property } Example: In this example, the selected <p> elements with the class containing "for" will have