css all the elements having id begin with code example Example 1: css all ids starting with [id^="product"] { ... } Example 2: targe id that starts with [id^=product]