⁕ Inline elements are those that take up only as much width as necessary. They are used to create small structures like links, spans, etc. They are also used to create text-level semantics like bold, italics, etc.
⁕ Examples: <span>
, <a>
, <strong>
, <em>
, <img>
.
⁕ Cannot contain block elements but can contain other inline elements.