DEV Community

Abdul moiz
Abdul moiz

Posted on

Learn Simple HTML5 Basic Elements(Second Article)!!

Block-Level And Inline Elements

  • In HTML , there are two kinds of elements one is block-level and other one is in-line elements.

Block Element.

  • These are those elements, which starts with new line and takes the full width of the screen horizontally and vertical space is its height of that content.Example div,form,,UL,ol,Li,section,table` and etc.

In Line-level Elements.

The Inline elements are those which do not start from new and take the space as necessary. Exmaple span, a href="", textarea,br, em,iframe and etc.

Remaining Part I will add in few hours

Discussion (0)