Frontend Development

What is the difference between a block-level element and an inline element? BlockInl

Submitted by SLIVER, , Thread ID: 237057

Thread Closed
08-03-2022, 05:32 AM
#1
[font="Open Sans", sans-serif][b]What is the difference between a block-level element and an inline element?[/b][/font]

[font="Open Sans", sans-serif][b]Block[/b]
[b]Inline[font="Open Sans", sans-serif]A block-level element is drawn as a block that stretches to fill the full width available to it i.e, the width of its container and will always start on a new line.[/font][/b]
[/font]

Users browsing this thread: 1 Guest(s)