Does it matter which way the following selector is written? It validates both ways and the W3 spec seems silent on the issue of quotation marks.
input[type=text]
Or
input[type='text']
I've seen it working both ways, but simply wondering does it always work both ways for either CSS or jQuery?
So is using the quotation marks simply a matter of preference? Semantics? CSS version?
Do we have two methods because of backward compatibility? If so, which way is best going forward?
Despite the accepted answer to this other SO question, I'm thinking this...
input[type='text']