This question has been eavesdropping on me for a long time. When writing a CSS selector that compares with an attribute of an element, such as.
a[rel="nofollow"]
I never know what I should do with quotation marks. Are they really necessary?
Basically, what is the specification for this, because I can not find it on the website.
Are they all considered valid?
a[rel="nofollow"] a[rel='nofollow'] a[rel=nofollow]
string css css-selectors
Olical Apr 7 2018-11-11T00: 00Z
source share