The Inline Element:

An inline element does not start on a new line. An inline element only takes up as much width as necessary.

Example:

  1. a
  2. br
  3. big
  4. img
  5. sub

The Block Elements

A block-level element always starts on a new line.A block-level element always takes up the full width available (stretches out to the left and right as far as it can).A block level element has a top and a bottom margin, whereas an inline element does not.

Example:

  1. p
  2. div
  3. dt
  4. ol
  5. table

The Inline-Block Element

The inline and block element also behave like a liline or a block Element

Example:

  1. div
  2. p
  3. form
  4. main
  5. article