+ 1

What is p{} ?

12th Mar 2018, 8:20 AM
Ruknin Shadid Suprio
Ruknin Shadid Suprio - avatar
2 Answers
+ 6
<p>Hello</p> Now in CSS p{ color:red; } what "p{}" does is it select all <p> tag and change the color of text inside <p> tag to red https://www.sololearn.com/learn/CSS/1080/
12th Mar 2018, 8:33 AM
Sudarshan Rai
Sudarshan Rai - avatar
+ 3
Thank you
12th Mar 2018, 8:35 AM
Ruknin Shadid Suprio
Ruknin Shadid Suprio - avatar