+ 1

could someone please simplify the difference between inline and block elements

22nd Jul 2016, 5:57 PM
Andrew
3 ответов
+ 2
A block level element starts on a new line and takes up the full width available. An inline element doesn't start on a new line and only takes up as much width as necessary.
22nd Jul 2016, 6:50 PM
Gustavo Maltoni
Gustavo Maltoni - avatar
+ 1
Inline tag allows to format the text, to apply italics/underlining.., they are inside. And block tags there begin the new element or new part of the document, whether it can be the paragraph, a form, the image, etc.
22nd Jul 2016, 9:11 PM
Toma
Toma - avatar
+ 1
@Tamara, img is an inline element.
23rd Jul 2016, 12:43 PM
ZinC
ZinC - avatar