In this session we will talk about inline elements, block elements and inline-block elements In HTML, inline elements are those which only occupy the space surrounded by tags that defining the element, just the content and instead of breaking the flow of the content. Block level elements are the ones that occupies the entire space of its parent element. (in this case body is the parent element) thereby creating a block. You can visualise them as a stack of boxes.
What is Inline Element, Block Element and Inline Block in HTML / CSS for Absolute Beginners
Related Posts
What is box model & box sizing in HTML & CSS? Understanding the types of box sizing
In this session we will talk about box model in HTML and box sizing in CSS. Every single...
Learn to Build a Basic HTML5 CSS3 WebPage – CSS3 Flexbox Navigation – Part 4
This is part 4 of building a basic HTML5 CSS3 web page, in this session we will build...
Learn to Build a Basic HTML5 CSS3 WebPage – Adding a Background Image – Part 3 (in 20 mins)
This is part 3 of our building a basic webpage series, in this session we will walk through...