June 4, 2008 - Rajesh Odayanchal

CSS Block and inline level elements

Nearly all HTML elements are either block or inline elements. The characteristics of block elements include:

  • begin on a new line
  • Height, line-height and top and bottom margins can be manipulated
  • defaults to 100% of their containing element, unless a width is specified

Examples of block elements include

,

,

,
,

❤ copy heart 2016 ചായില്യം | chayilyam ❤ Rajesh Odayanchal +91 - 7829333365