I don't think i understand elements inside a div tag

https://gyazo.com/7a5b946d818a3e33c7e4c28000c638ac

https://gyazo.com/234dcd2d3b9d8c120d6b2061e2e60711

Shouldn’t anything inside a div tag be styled then what is the diffrent if i decide to put a link tag or a div tag inside a div tag.

I want to know why i don’t get the same result if i put an a tag with a class or a div tag inside a div in my mind it should be the same. What am i not understanding.

If i’m getting it right, you should read about the difference between block elements and inline elements.
You can get some info about the subject in here

1 Like

Gotcha i did this on all a tags https://gyazo.com/8211c2b9d6b9d451210122d6d2dece42.

Thank you i had read about block and inline before but i guess i didn’t really understand it. Thank you guess it’s alot i think i understand but i don’t.