0

why is there p. before every CSS tag ?

it is a bit puzzling?

4th Aug 2016, 2:47 PM
V Aakash
V Aakash - avatar
6 Answers
+ 2
p. correponds to PARAGRAPH with CLASS name p.list for example, its a paragraph with a class name "list" in your HTML
4th Aug 2016, 7:14 PM
Anton Dyachenko
Anton Dyachenko - avatar
0
When class is used, p. Classname is used for the respective class
15th Aug 2016, 3:32 PM
Gautam G G
Gautam G G - avatar
0
The "p" stands for the <p> element. It is the element that is being styled.
29th Aug 2016, 2:11 AM
Erik Johanson
Erik Johanson - avatar
0
Not all CSS classes have element p. Maybe you've not seen enough projects, see more projects, create some yourself and see if its everything that has a p
30th Aug 2016, 1:56 AM
Ezekiel Oladejo
Ezekiel Oladejo - avatar
0
p. is a class of paragraph the class name gives you location of what paragraph you are trying to manipulate (multiple classes can be manipulated under one class from css)
16th Sep 2016, 4:29 PM
Alan Mair
Alan Mair - avatar
- 1
because of the p is parents of the class
5th Aug 2016, 3:45 AM
sunil balyan
sunil balyan - avatar