How can i give different formatting to the same tag...(( Read Description )) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How can i give different formatting to the same tag...(( Read Description ))

if I have typed 3 paragraph's in html and I want to give three different Formatting to all these 3 para. then how it is possible? { just by using CSS coding } THANK YOU .💐💐

25th Mar 2018, 3:37 PM
NIGHT STAR
NIGHT STAR - avatar
3 Answers
+ 4
use different CSS properties for formatting https://code.sololearn.com/WkpHQokQw4AH/?ref=app
25th Mar 2018, 4:09 PM
Manorama
Manorama - avatar
+ 2
By assigning different ID's to <p> , you can easily do it.
25th Mar 2018, 3:43 PM
Alpha Rays
Alpha Rays - avatar
+ 1
You can give them different ids or classes, using the id or class attribute. Then just reference #idName or .className in the css code
25th Mar 2018, 3:40 PM
Ariela
Ariela - avatar