+ 2

HTML block elements

someone please can explain what's the logic of block elements? and the non block elements what is difference. forgivemyenglish

24th Jun 2017, 7:24 PM
dimitriDV
dimitriDV - avatar
3 Réponses
+ 8
See related post on block and inline elements https://www.sololearn.com/discuss/454647/?ref=app
24th Jun 2017, 8:23 PM
Awele Omeligwe
Awele Omeligwe - avatar
+ 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).
24th Jun 2017, 7:37 PM
Yasiru Nayanajith
Yasiru Nayanajith - avatar
10th Oct 2017, 8:55 AM
Calviղ
Calviղ - avatar