Block vs. Inline Elements
Block Elements
A block-level element is any element that starts a new line and uses the full width of the page or container. In other words, it takes up the entire width of the page, with nothing next to it.
List of Block Elements
- <p> - Paragraphs
- <h1>, <h2>, <h3>, <h4>, <h5>, <h6> - Headers
- <ol> - Ordered Lists
- <ul> - Unordered Lists
- <dl>, <dt>, <dd> - Description Lists, Terms & Descriptions
List of List-Item Elements
- <li> - List Items