Which is the parent and which is the child.. id or class? And when should İ use which. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Which is the parent and which is the child.. id or class? And when should İ use which.

11th Aug 2017, 9:45 PM
Ammar Burhani
Ammar Burhani - avatar
2 Answers
+ 1
thanks
12th Aug 2017, 3:55 PM
Ammar Burhani
Ammar Burhani - avatar
0
but then if I had an element with an Id and a class which would take precedence the class or the Id?
12th Aug 2017, 3:43 AM
Ammar Burhani
Ammar Burhani - avatar