CSS - Inline Element

About

Inline-level elements are (HTML|XML) elements of the source document that generate inline block boxes

This is the default display value. The user agent's default style sheet may override this value.

See XML - in-line element

Management

List

  • span
  • b
  • ..

Modification

A box with a CSS display property of inline is a inline level element.

Example

<p><b>This text is an Inline level element because it's in a b element.</b>
var element = document.querySelector("b");
var style = window.getComputedStyle(element);
console.log(style.getPropertyValue('display'));

Powered by ComboStrap