Inline And Block
| Block-level Elements | Inline Elements |
| They start on a new line. | Do not start on a new line and can begin within a line. |
| Stretch to fill the full width available to them. | Take up as much width as necessary. Its width only extends as far as it is defined by its tags. |
| They have a top and a bottom margin. | Inline elements do not have a top and a bottom margin. |
| Examples of block-level elements in HTML: <div>, <img>, <form>, <main>, <table>, <video>. | Examples of inline elements: <span>, <img>, <strong>, <code>, <input>, <time>, <i>. |