Css - (Line|word) (wrap|Breaking)

1 - About

Line breaking, also known as word wrapping, is the process of breaking a section of text into lines such that it will fit in the available width of a page, window or other display area (such as a viewport)

It allows

  • text to be read from top to bottom without any horizontal scrolling.
  • the display of text to adapt flexibly and dynamically to displays of varying sizes.

3 - Type

3.1 - Line

Break by character

3.2 - Word

Break lines between words rather than within words.

Word wrap makes it unnecessary to hard-code newline delimiters within paragraphs

4 - Soft vs hard

4.1 - Soft

A soft return or soft wrap is the break resulting from line wrap or word wrap (whether automatic or manual),

4.2 - Hard

A hard return or hard wrap is an intentional break, creating a new paragraph.

5 - Documentation / Reference

Data Science
Data Analysis
Data Science
Linear Algebra Mathematics

Powered by ComboStrap