Block-level Elements

Next ❯Style Sheet

All HTML elements can be categorized into two categories

1. Block-level Elements
2. Inline Elements
  • Elements start on their own new line, and anything after that comes on new line
  • trending_downSome Examples
    <h1>, <h2>, <h3>, <h4>, <h5>, <h6>
    <ul>, <ol>, <dl>

Inline Elements

  • Elements not start on their own new line, and any inline elements after that, appears just after them
  • To make Elements appear on new line , use <br> tag
  • trending_downSome Examples

  • Style Sheet
❮ Prev Form Attributes
Next ❯Style Sheet