Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis+ 7
What is the basic difference between inline and block elements?
I am really confused between inline and block elements in html. I can't understand the difference.
12 Respostas
+ 7
āØš~_Starlight_~šāØ Read the lesson below and go through the threads .Also Kindly use the search bar next time ...
https://www.sololearn.com/learn/HTML/1034/?ref=app
https://www.sololearn.com/Discuss/19736/?ref=app
https://www.sololearn.com/Discuss/57720/?ref=app
+ 4
Doesn't the html tutorial teach this?
+ 3
Coder thank you š
+ 3
Aderibigbe Samuel thank you so much... it helped š
+ 3
Sonic ...It does but still I didn't get it... but now I know... so no problem... š
+ 2
+ 2
Alphin K Sajan thank you so much.. š..now I get it š
+ 2
ć Nicko12 ć thank you so much šš
+ 2
+ 2
If a elements takes whole 100% width of the brower then it is Block level otherwise it is inline element
+ 2
Simply,
An inline element does not start on a new line and only takes up as much width as necessary.
A block-level element always starts on a new line and takes up the full width available i.e stretches out to the left and right as far as it can
Hope this helps āŗļø
+ 2
āØš~_Starlight_~šāØ you are welcome bro