+ 2
HTML block elements
someone please can explain what's the logic of block elements? and the non block elements what is difference. forgivemyenglish
3 Antworten
+ 8
See related post on block and inline elements
https://www.sololearn.com/discuss/454647/?ref=app
+ 7
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 (stretches out to the left and right as far as it can).
+ 1
Try it yourself
https://code.sololearn.com/WUWrSMiCq8v6/?ref=app