HTML – Elements

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.

You May Also Like

About the Author: Pankaj Bisht