Our volunteers haven't translated this article into Bahasa Indonesia yet. Join us and help get the job done!
You can also read the article in English (US).

This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The line-break CSS property is used to specify how (or if) to break lines when working with punctuation and symbols. This only affects text in Chinese, Japanese, or Korean (CJK).

/* Keyword values */
line-break: auto;
line-break: loose;
line-break: normal;
line-break: strict;

/* Global values */
line-break: inherit;
line-break: initial;
line-break: unset;
Initial valueauto
Applies toall elements
Inheritedno
Mediavisual
Computed valueas specified
Animation typediscrete
Canonical orderthe unique non-ambiguous order defined by the formal grammar

Syntax

Values

auto
Break text using the default line break rule.
loose
Break text using the least restrictive line break rule. Typically used for short lines, such as in newspapers.
normal
Break text using the most common line break rule.
strict
Break text using the most stringent line break rule.

Formal syntax

auto | loose | normal | strict

Specifications

Specification Status Comment
CSS Text Module Level 3
The definition of 'line-break' in that specification.
Working Draft Initial definition

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support

58

1 -webkit-

Yes No

5.5

8 -ms-

45

Yes -webkit-

Yes
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support

58

Yes -webkit-

58

18 -webkit-

Yes No

45

Yes -webkit-

Yes ?

Tag Dokumen dan Kontributor

 Kontributor untuk laman ini: fscholz, mfluehr, jpmedley, DailyAlice, erikadoyle, Siilwyn, Sebastianz, ishita, mkato, teoli
 Terakhir diperbarui oleh: fscholz,