0

What is the difference between #header{} and #header img{} in css

if we call this id <div id="header">

27th Aug 2021, 1:52 PM
Kebron Abiy
Kebron Abiy - avatar
3 Respuestas
+ 1
#header img {} Selects all <img> elements inside id header div elements where
27th Aug 2021, 3:11 PM
Pariket Thakur
Pariket Thakur - avatar
0
#header apply css on div and #header img will apply css on all image inside that div
27th Aug 2021, 2:08 PM
Divya Mohan
Divya Mohan - avatar
0
While we are not calling #header img it will be applied by calling <div id="header">
27th Aug 2021, 2:12 PM
Kebron Abiy
Kebron Abiy - avatar