0

Why we use div <div class="section"> ?? And if i remove it then no change occurs in output??

8th Jul 2019, 2:59 PM
THE CRAZY ONE ✌️
THE CRAZY ONE ✌️ - avatar
4 odpowiedzi
+ 1
because "class=section" is how you named specific <div>, when you do that, you go to CSS, type in .section and that way you are telling CSS which <div> are you customizing in this case its div named ".section". so basically it doesent affect your html, its just a connection between html and css, so css know which div are you customizing
8th Jul 2019, 5:33 PM
Dovahkiin
Dovahkiin - avatar
0
Thanks a lot .. I am waiting for that type of solution
8th Jul 2019, 5:41 PM
THE CRAZY ONE ✌️
THE CRAZY ONE ✌️ - avatar
0
hritik just finish your html and css course and you will figure it out
8th Jul 2019, 5:45 PM
Dovahkiin
Dovahkiin - avatar
0
Oohk
8th Jul 2019, 5:46 PM
THE CRAZY ONE ✌️
THE CRAZY ONE ✌️ - avatar