Is there a way to call any element on a website with the same attribute? If I have the following elements for example:
<h1 example="true">Test</h1>
<p example="true">Test 2</p>
can I call them together? So without using the following -
h1[example="true"]{
color: red;
}
p[example="true"]{
color: red;
}
OR
h1[example="true"], p[example="true"]{
color: red;
}
I just need a way to call EVERY element with that attribute being true.