what is concepts block level,inline-level,box generation? for me some example or explain for this and How block format context work?i don’t understand advantage its.
Block
Takes up the full width available, with a new line before and after (display:block;)
Inline
Takes up only as much width as it needs, and does not force new lines (display:inline;)
Not displayed
Some tags, like and are not visible (display:none;)
The best you can do is to create an HTML and CSS files, and to play around with them.
1 Like
Block vs. inline vs. inline-block elements:
“Boxes” and the box model:
Ned Block:
Boxxy:
…Just kidding, the last two are completely irrelevant
1 Like