e.g.
<span data-co="label">Select the elements you do not want to see on this page</span>
as in above span there is no id or class given to span but i need to hide this span
e.g.
<span data-co="label">Select the elements you do not want to see on this page</span>
as in above span there is no id or class given to span but i need to hide this span
As @Olivier Krull mentioned above, you can use an attribute selector to target that span, like so:
span[data-co=label] {
display: none;
}
<span>This element is visible</span>
<span data-co="label">Select the elements you do not want to see on this page</span>
Of course, that assumes that all the spans you want to hide have that attribute.