Block & Inline Elements

original left fit

Block Elements

  • Block elements always appear on a new line in the browser window

  • <h1>, <p>, <ul>, and <li> are examples of block elements

JS Bin on jsbin.com


Inline Elements

  • Inline elements will always appear to continue on the same line as their neighboring elements

  • <a>, <img>, <b>, and <em> are examples of inline elements

JS Bin on jsbin.com