Code a rule for all the paragraph elements that share the class blog { text-align: center; } | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

Code a rule for all the paragraph elements that share the class blog { text-align: center; }

Code a rule for all the paragraph elements that share the class blog p blog{ text-align: center; }

8th May 2024, 5:26 PM
charles mccarthhy
charles mccarthhy - avatar
1 Respuesta
+ 2
Thats almost correct. It is p.blog p is the element selector .blog is the class selector
8th May 2024, 5:37 PM
Chris Coder
Chris Coder - avatar