Why the answer is #test p ? why it dosn't use .p for class ? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

Why the answer is #test p ? why it dosn't use .p for class ?

1st Dec 2016, 9:48 PM
raha
raha - avatar
2 Respuestas
+ 5
'#' is for IDs and '.' is for classes.
1st Dec 2016, 9:50 PM
Ismail
Ismail - avatar
+ 1
Answer to what ? #test p // means p element inside of the element with id# "test" # is for IDs . is for CLASS 's next time be more specific, post the part of the code that you have questions about.
1st Dec 2016, 9:52 PM
Nedim Kanat
Nedim Kanat - avatar