PDA

View Full Version : What are inline elements and block-level elements in HTML?



vkumar
10-07-2019, 11:16 PM
Hello friends,


What are inline elements and block-level elements in HTML?

WoodsPainting
10-08-2019, 11:14 PM
Inline elements are those which only occupy the space bounded by the tags defining the element, instead of breaking the flow of the content. In this article, we'll examine HTML inline elements and how they differ from block-level elements.

ImpalaWardrobes
10-09-2019, 03:28 AM
HTML is made up of various elements that act as the building blocks of web pages. For the purpose of styling, elements are divided into two categories: block-level elements and inline elements. In summary, a <span> element is used as an inline element and a <div> element as a block level element