HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

hyphens

Description

The hyphens property for CSS controls whether hyphenation is allowed to create more soft wrap opportunities within a line of text.

Syntax

CSS

hyphens: value;

JS

object.style.hyphens = "value";

Values

<'hyphens'> = none | manual | auto
none

Words are not hyphenated, even if characters inside the word explicitly define hyphenation opportunities.

manual

Words are only hyphenated where there are characters inside the word that explicitly suggest hyphenation opportunities.

auto

Words may be broken at hyphenation opportunities determined automatically by a language-appropriate hyphenation resource in addition to those indicated explicitly by a conditional hyphen.

Initial

manual

Examples

1 · auto

2 · manual

3 · none

4 · JS