0
How to add different color in html different paragraphs help me plz 🙏
2 ответов
0
u can give a class to each node (p tag )
and use it
for example :
html:
<p class="color1"></p><p class="color2"></p>
css:
.color1{
color: red;
}
.color2{
color: green ;
}
or
u can use CSS :nth-child() Selector (https://www.w3schools.com/cssref/sel_nth-child.asp )
0
You can use color properties text colour background colour .... search on internet or read solo lessons