inline elements

Definition:

The short definition is that inline elements are elements that are found in the text of the HTML document. They are also sometimes called text level elements.

Inline elements have some specific distinctions from block-level elements:

  • Inline elements generally only contain text, data or other inline elements. They are usually "smaller" than block-level elements.
  • Inline elements do not generally begin new lines of text.
  • Inline elements inherit directionality information differently from block-level elements.

Also Known As: text level elements

Examples:

  • <span></span>
  • <strong></strong>
  • <abbr></abbr>
Format
mla apa chicago
Your Citation
Kyrnin, Jennifer. "inline elements." ThoughtCo, Jun. 29, 2017, thoughtco.com/inline-elements-3468281. Kyrnin, Jennifer. (2017, June 29). inline elements. Retrieved from https://www.thoughtco.com/inline-elements-3468281 Kyrnin, Jennifer. "inline elements." ThoughtCo. https://www.thoughtco.com/inline-elements-3468281 (accessed December 18, 2017).