CSS - Inline Element

1 - 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

3 - Management

3.1 - List

  • span
  • b
  • ..

3.2 - Modification

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

4 - 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'));


Data Science
Data Analysis
Statistics
Data Science
Linear Algebra Mathematics
Trigonometry

Powered by ComboStrap