HTML Elements

In HTML, Elements are the foundation of every real-world entity. Likewise, it plays a big role on the web. In the web, we have three types of element.

  • Block level
  • Inline Level
  • Mixed Level ( Block + Inline )

Block Level

  • Without width, it takes the full width of its parents.
  • We can use margin padding.
  • Verticle stacking.
  • Without height, it takes, auto-adjust.

Inline Level

  • We can not use margin padding.
  • Horizontal stacking.

Mixed Level (Block + Inline)

  • We can use margin padding.
  • Horizontal stacking.

About the Author: Pankaj Bisht