+ 1

whats the diffrence

<style> h1, p{ color:red; } </style> does it matter if I put p, h1

30th Apr 2022, 9:24 PM
Lalala
Lalala - avatar
2 Antworten
0
Lalala No it won't matter, you can write p, h1. you could of found it just by doing that
1st May 2022, 1:00 AM
NonStop CODING
NonStop CODING - avatar
0
Hi Lalala no there is no difference in that case of a simple selector. You can group as many as you want and in any order. :)
1st May 2022, 1:39 AM
Chris Coder
Chris Coder - avatar