In W3 Schools selectors refrence they have written
[attribute|=value] [lang|=en]
Selects all elements with a lang attribute value starting with "en"
[attribute^=value] a[href^="https"]
Selects every <a>
element whose href attribute value begins with https
So what is the diffrence between them if they both select an element starting with a word?