Skip to content

Commit 1e6dcbc

Browse files
authored
Update files/en-us/web/css/css_text/wrapping_breaking_text/index.md
1 parent 96a7d36 commit 1e6dcbc

File tree

1 file changed

+1
-1
lines changed
  • files/en-us/web/css/css_text/wrapping_breaking_text

1 file changed

+1
-1
lines changed

files/en-us/web/css/css_text/wrapping_breaking_text/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ In the example below there is a checkbox and label. Let's say, you want the labe
165165

166166
## Adding hyphens
167167

168-
To add hyphens when words are broken, use the CSS {{cssxref("hyphens")}} property. Using a value of `auto`, the browser is free to automatically break words at appropriate hyphenation points, following whatever rules it chooses. To have some control over the process, use a value of `manual`, then insert a hard (`-`) or soft break character (U+00AD) into the string. A soft break character can be added using `­`, `­`, or `&#xad` HTML character codes as well. A hard break will always break, even if it is not necessary to do so. A soft break only breaks if breaking is needed.
168+
To add hyphens when words are broken, use the CSS {{cssxref("hyphens")}} property. Using a value of `auto`, the browser is free to automatically break words at appropriate hyphenation points, following whatever rules it chooses. To have some control over the process, use a value of `manual`, then insert a hard (U+2010) or soft break character (U+00AD) into the string. A hard break character can be added using `` or `‐`, and a soft break character can be added using `­`, `­`, or `&#xad` HTML character codes. A hard break will always break, even if it is not necessary to do so. A soft break only breaks if breaking is needed.
169169

170170
```html live-sample___hyphens
171171
<div class="box">

0 commit comments

Comments
 (0)