Take the title attribute as an example
[title~=god] {} The attribute title contains a single god word.
[title^=god]{} attribute title must start with god.
The [title|=god]{} attribute must start with god, but cannot be a single god. If title="god xxx" will not be selected, title="gods xx" will be selected
[title^=god]{} attribute title must end with god.
[title*=god]{} The title of the attribute can contain god.