The hyphens CSS property specifies how words should be hyphenated when text wraps across multiple lines.
hyphens
MDN Reference